MCPcopy Create free account

hub / github.com/facebook/jscodeshift / functions

Functions135 in github.com/facebook/jscodeshift

Functionmatch
* Utility function to match a node against a pattern. * @augments core * @static * @param {Node|NodePath|Object} path * @parma {Object} filter *
src/core.js:93
FunctionnewCore
(source, options)
src/core.js:136
Functionnochange
(msg, verbose)
src/Runner.js:54
FunctionnodeMethod
()
src/__tests__/Collection-test.js:118
Functionok
(msg, verbose)
src/Runner.js:51
Functionoptions
* `options` is an object of objects. Each option can have the following * properties: * * - full: The name of the option to be used in the
src/argsParser.js:263
Functionparse
(code)
parser/flow.js:30
Functionparse
(code)
parser/babel5Compat.js:46
Functionparse
(code)
parser/tsx.js:23
Functionparse
(code)
parser/babylon.js:53
Functionparse
(code)
parser/ts.js:20
Functionparse
(options, args=process.argv.slice(2))
src/argsParser.js:125
Functionprocess
(value)
src/argsParser.js:173
Methodrab
()
sample/__testfixtures__/reverse-identifiers.output.js:7
Functionregister
()
src/collections/ImportDeclaration.js:108
Functionregister
()
src/collections/Node.js:181
Functionregister
()
src/collections/JSXElement.js:213
Functionregister
()
src/collections/VariableDeclarator.js:203
FunctionregisterMethods
* This function adds the provided methods to the prototype of the corresponding * typed collection. If no type is passed, the methods are added to *
src/Collection.js:358
Functionrun
(transformFile, paths, options)
src/Runner.js:164
FunctionsetDefaultCollectionType
* Sets the default collection type. In case a collection is created form an * empty set of paths and no type is specified, we return a collection of
src/Collection.js:464
FunctionshouldIgnore
(path)
src/ignoreFiles.js:61
Methodsize
* Returns the number of elements in this collection. * * @return {number}
src/Collection.js:140
Functionskip
(msg, verbose)
src/Runner.js:57
Functionstats
(name, quantity)
src/Worker.js:119
Functionsum
(a, b)
src/__testfixtures__/test-sync-transform.input.js:1
Functionsum
(a, b)
src/__testfixtures__/test-async-transform.input.js:1
FunctionsynchronousTestTransform
(fileInfo, api, options)
src/__testfixtures__/test-sync-transform.js:1
FunctionsynchronousTestTransform
(fileInfo, api, options)
src/__testfixtures__/test-async-transform.js:1
Functiontransformer
* Example jscodeshift transformer. Simply reverses the names of all * identifiers.
sample/reverse-identifiers.js:12
Functiontransformer
(file, api)
src/__tests__/ts-decorator-auto-accessor-test.js:3
FunctiontypedMethod
()
src/Collection.js:407
Functionuse
* Utility function for registering plugins. * * Plugins are simple functions that are passed the core jscodeshift instance. * They should extend js
src/core.js:117
Functionvisit
(path)
src/collections/Node.js:37
FunctionwithParser
* Returns a version of the core jscodeshift function "bound" to a specific * parser. * * @augments core * @static
src/core.js:131
← previous101–135 of 135, ranked by callers