Class Babel::Babel::Config

A Babel configuration object, either from package.json or from a .babelrc file.

Direct supertypes

Indirect supertypes

Predicates

appliesTo

Holds if this configuration applies to tl.

getAContainerInScope

Gets a file affected by this Babel configuration.

getPluginConfig

Gets the configuration for the plugin with the given name.

Inherited predicates

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
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
getPropStringValue

Gets the string value of property name of this object.

from JSONObject
getPropValue

Gets the value of property name of this object.

from JSONObject
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