Package | Description |
---|---|
com.google.javascript.jscomp |
Provides the core compiler and its public API.
|
com.google.javascript.rhino |
The core AST from Rhino.
|
Modifier and Type | Field and Description |
---|---|
private InputId |
CompilerInput.id |
private InputId |
Es6SyntacticScopeCreator.inputId |
private InputId |
JsAst.inputId |
private InputId |
NodeTraversal.inputId
The current input
|
private InputId |
ReferenceCollectingCallback.Reference.inputId |
private InputId |
SyntacticScopeCreator.inputId |
private InputId |
SyntheticAst.inputId |
private InputId |
TypedScopeCreator.AbstractScopeBuilder.inputId
The InputId of the current node.
|
Modifier and Type | Field and Description |
---|---|
private java.util.Map<InputId,java.lang.Integer> |
GlobalVarReferenceMap.inputOrder |
private java.util.Map<InputId,CompilerInput> |
Compiler.inputsById |
Modifier and Type | Method and Description |
---|---|
InputId |
CompilerInput.getInputId()
Returns a name for this input.
|
InputId |
JsAst.getInputId() |
(package private) InputId |
NodeTraversal.getInputId() |
InputId |
ReferenceCollectingCallback.Reference.getInputId() |
InputId |
SourceAst.getInputId() |
InputId |
SyntheticAst.getInputId() |
static InputId |
NodeUtil.getInputId(Node n) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<InputId,CompilerInput> |
Compiler.getInputsById()
Returns an unmodifiable view of the compiler inputs indexed by id.
|
Modifier and Type | Method and Description |
---|---|
private GlobalVarReferenceMap.SourceRefRange |
GlobalVarReferenceMap.findSourceRefRange(java.util.List<ReferenceCollectingCallback.Reference> refList,
InputId inputId)
Finds the range of references associated to
sourceName . |
abstract CompilerInput |
AbstractCompiler.getInput(InputId inputId)
Looks up an input (possibly an externs input) by input id.
|
CompilerInput |
Compiler.getInput(InputId id) |
(package private) CompilerInput |
Compiler.putCompilerInput(InputId id,
CompilerInput input) |
protected void |
Compiler.removeExternInput(InputId id)
Removes an input file from AST.
|
private void |
GlobalVarReferenceMap.removeScriptReferences(InputId inputId) |
private void |
GlobalVarReferenceMap.replaceReferences(java.lang.String varName,
InputId inputId,
ReferenceCollectingCallback.ReferenceCollection newSourceCollection) |
Constructor and Description |
---|
CompilerInput(SourceAst ast,
InputId inputId,
boolean isExtern) |
Reference(Node nameNode,
ReferenceCollectingCallback.BasicBlock basicBlock,
Scope scope,
InputId inputId) |
Modifier and Type | Method and Description |
---|---|
InputId |
Node.getInputId() |
Modifier and Type | Method and Description |
---|---|
void |
Node.setInputId(InputId inputId) |