estree-utils
v0.1.1
Published
Functional utilities for parsing JS ASTs
Downloads
112
Maintainers
Readme
estree-utils
Utility functions for parsing Javascript AST's like Esprima.
API
- filterTree
- filterTreeForCallExpressions
- filterTreeForExpressionStatements
- filterTreeForFunctionsNamed
- filterTreeForMethodsAndFunctionsNamed
- filterTreeForMethodsNamed
- isCallExpression
- isExpressionStatement
- isFunctionNamed
- isGettextFunction
- isGettextMethod
- isJSXElement
- isJSXExpression
- isMemberExpression
- isMethodNamed
- isMethodOrFunctionNamed
- mapArguments
- mapExpression
- mapFirstArgument
- mapTree
- mapValues
- traverse