Mixin: globalMethods

globalMethods

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

globalMethods

Contains filter methods and mutation methods for processing JSXElements.
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