Package | Description |
---|---|
com.google.javascript.jscomp |
Provides the core compiler and its public API.
|
Modifier and Type | Field and Description |
---|---|
(package private) NameReferenceGraph.Name |
NameReferenceGraph.main |
private NameReferenceGraph.Name |
NameReferenceGraphConstruction.NameUse.name |
(package private) NameReferenceGraph.Name |
NameReferenceGraph.unknown |
(package private) NameReferenceGraph.Name |
NameReferenceGraph.window |
Modifier and Type | Field and Description |
---|---|
private java.util.ArrayList<NameReferenceGraph.Name> |
NameReferenceGraphConstruction.currentFunctionStack |
private java.util.Map<java.lang.String,NameReferenceGraph.Name> |
NameReferenceGraph.nameMap |
private com.google.common.collect.Multimap<Node,NameReferenceGraph.Name> |
NameReferenceGraph.referenceMap |
Modifier and Type | Method and Description |
---|---|
NameReferenceGraph.Name |
NameReferenceGraph.defineNameIfNotExists(java.lang.String name,
boolean isExtern) |
private NameReferenceGraph.Name |
NameReferenceGraphConstruction.getNamedContainingFunction()
Find the first containing function that's not an function expression
closure.
|
NameReferenceGraph.Name |
NameReferenceGraph.getSymbol(java.lang.String name) |
private NameReferenceGraph.Name |
NameReferenceGraphConstruction.Traversal.recordClassConstructorOrInterface(java.lang.String name,
FunctionType type,
Node n,
Node rhs)
Creates the name in the graph if it does not already exist.
|
private NameReferenceGraph.Name |
NameReferenceGraphConstruction.Traversal.recordPrototypePropDefinition(Node qName,
JSType type,
Node assign) |
private NameReferenceGraph.Name |
NameReferenceGraphConstruction.Traversal.recordStaticNameDefinition(java.lang.String name,
JSType type,
Node n,
Node rValue) |
Modifier and Type | Method and Description |
---|---|
GraphNode<NameReferenceGraph.Name,NameReferenceGraph.Reference> |
NameReferenceGraph.createNode(NameReferenceGraph.Name value) |
java.util.List<NameReferenceGraph.Name> |
NameReferenceGraph.getReferencesAt(Node site)
Retrieves a list of all possible Names that this site is referring to.
|
Modifier and Type | Method and Description |
---|---|
void |
NameReferenceGraph.connect(NameReferenceGraph.Name src,
NameReferenceGraph.Reference ref,
NameReferenceGraph.Name dest) |
GraphNode<NameReferenceGraph.Name,NameReferenceGraph.Reference> |
NameReferenceGraph.createNode(NameReferenceGraph.Name value) |
private void |
NameReferenceGraphReport.generateEdgeReport(java.lang.StringBuilder builder,
NameReferenceGraph.Name referencedDecl,
DiGraph.DiGraphEdge<NameReferenceGraph.Name,NameReferenceGraph.Reference> edge)
Generate a description of a specific edge between two nodes.
|
private void |
NameReferenceGraphConstruction.pushContainingFunction(NameReferenceGraph.Name functionNode)
Mark the provided node as the current function that we are analyzing.
|
Constructor and Description |
---|
NameUse(NameReferenceGraph.Name name,
NameReferenceGraph.Reference reference) |