CodeQL library for JavaScript
Search

Class Babel::Plugin

Configuration object for a Babel plugin.

Import path

import javascript

Direct supertypes

Indirect supertypes

Known direct subtypes

Fields

Predicates

appliesTo

Holds if this plugin applies to tl.

getConfig

Gets the enclosing Babel configuration object.

getOption

Gets a named option from the option object, if present.

getOptions

Gets the options value passed to the plugin, if any.

getPluginName

Gets the name of the plugin being installed.

Inherited predicates

getAPrimaryQlClass

Gets the primary QL class for the Locatable.

from JSONValue
getChild

Gets the ith child value of this value.

from JSONValue
getEndLine

Gets the line on which this element ends.

from Locatable
getFile

Gets the file this program element comes from.

from Locatable
getJsonFile

Gets the JSON file containing this value.

from JSONValue
getLocation

Gets this element’s location.

from JSONValue
getNumLines

Gets the number of lines covered by this element.

from Locatable
getParent

Gets the parent value to which this value belongs, if any.

from JSONValue
getStartLine

Gets the line on which this element starts.

from Locatable
isTopLevel

Holds if this JSON value is the top level element in its enclosing file.

from JSONValue
toString

Gets a textual representation of this element.

from JSONValue

Charpred