- Source:
Methods
(static) findJSXElements(name) → {Collection}
Finds all JSXElements optionally filtered by name
Parameters:
Name | Type | Description |
---|---|---|
name |
string |
- Source:
Returns:
- Type
- Collection
(static) findJSXElementsByModuleName()
Finds all JSXElements by module name. Given
var Bar = require('Foo');
findJSXElementsByModuleName('Foo') will find , without having to
know the variable name.
- Source:
(static) findVariableDeclarators(name) → {Collection}
Finds all variable declarators, optionally filtered by name.
Parameters:
Name | Type | Description |
---|---|---|
name |
string |
- Source:
Returns:
- Type
- Collection