Class Babel::RootImportConfig
A configuration object for the babel-plugin-root-import plugin.
This is either of the form ["babel-plugin-root-import"], simply specifying that the plugin
should be used, or of the form ["babel-plugin-root-import", { "paths": [ <path>... ] }], where
each path is of the form { "rootPathPrefix": "...", "rootPathSuffix": "..." } and explicitly
specifies a mapping from a path prefix to a root.
Import path
import javascriptDirect supertypes
Indirect supertypes
Known direct subtypes
Inherited fields
| cfg | from Plugin | |
| pluginName | from Plugin |
Predicates
Inherited predicates
| appliesTo | Holds if this plugin applies to | from Plugin |
| getAPrimaryQlClass | Gets the primary QL class for the Locatable. | from JsonValue |
| getBooleanValue | If this is a boolean constant, gets its boolean value. | from JsonValue |
| getChild | Gets the | from JsonValue |
| getConfig | Gets the enclosing Babel configuration object. | from Plugin |
| getElementValue | If this is an array, gets the value of the | from JsonValue |
| getEndLine | Gets the line on which this element ends. | from Locatable |
| getFile | Gets the file this program element comes from. | from Locatable |
| getIntValue | If this is an integer constant, gets its numeric value. | from JsonValue |
| getJsonFile | Gets the JSON file containing this value. | from JsonValue |
| getLocation | Gets this element’s location. | from Locatable |
| getNumLines | Gets the number of lines covered by this element. | from Locatable |
| getOption | Gets a named option from the option object, if present. | from Plugin |
| getOptions | Gets the options value passed to the plugin, if any. | from Plugin |
| getParent | Gets the parent value to which this value belongs, if any. | from JsonValue |
| getPluginName | Gets the name of the plugin being installed. | from Plugin |
| getPrimaryQlClasses | Gets a comma-separated list of the names of the primary CodeQL classes to which this element belongs. | from Locatable |
| getPropValue | If this is an object, gets the value of property | from JsonValue |
| getStartLine | Gets the line on which this element starts. | from Locatable |
| getStringValue | If this is a string constant, gets the value of the string. | from JsonValue |
| 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 |