public class ValueLogLocationRemapping
extends java.lang.Object
ValueLogLocationInformation
.
All the register*-methods should be called when appropriate when building the flowgraph.
Constructor and Description |
---|
ValueLogLocationRemapping(ValueLogLocationInformation state) |
Modifier and Type | Method and Description |
---|---|
void |
registerCompoundAssignmentOperation(com.google.javascript.jscomp.parsing.parser.trees.ParseTree operand,
SourceLocation sourceLocation,
SourceLocation.SourceLocationMaker sourceLocationMaker)
Examples:
```
v++
++o.p
v += x
v.p += x.p
```
|
void |
registerDeclaredAccessor(com.google.javascript.jscomp.parsing.parser.trees.ParseTree accessorTree,
SourceLocation sourceLocation,
SourceLocation.SourceLocationMaker sourceLocationMaker) |
void |
registerForIn(com.google.javascript.jscomp.parsing.parser.trees.ForInStatementTree tree,
SourceLocation tajsLocation,
SourceLocation.SourceLocationMaker sourceLocationMaker) |
void |
registerVariableDeclaration(com.google.javascript.jscomp.parsing.parser.trees.VariableDeclarationTree tree,
SourceLocation variableLocation,
SourceLocation.SourceLocationMaker sourceLocationMaker) |
void |
registerWriteVariable(com.google.javascript.jscomp.parsing.parser.trees.BinaryOperatorTree tree,
SourceLocation tajsLocation,
SourceLocation.SourceLocationMaker sourceLocationMaker) |
public ValueLogLocationRemapping(ValueLogLocationInformation state)
public void registerCompoundAssignmentOperation(com.google.javascript.jscomp.parsing.parser.trees.ParseTree operand, SourceLocation sourceLocation, SourceLocation.SourceLocationMaker sourceLocationMaker)
public void registerDeclaredAccessor(com.google.javascript.jscomp.parsing.parser.trees.ParseTree accessorTree, SourceLocation sourceLocation, SourceLocation.SourceLocationMaker sourceLocationMaker)
public void registerForIn(com.google.javascript.jscomp.parsing.parser.trees.ForInStatementTree tree, SourceLocation tajsLocation, SourceLocation.SourceLocationMaker sourceLocationMaker)
public void registerVariableDeclaration(com.google.javascript.jscomp.parsing.parser.trees.VariableDeclarationTree tree, SourceLocation variableLocation, SourceLocation.SourceLocationMaker sourceLocationMaker)
public void registerWriteVariable(com.google.javascript.jscomp.parsing.parser.trees.BinaryOperatorTree tree, SourceLocation tajsLocation, SourceLocation.SourceLocationMaker sourceLocationMaker)
Copyright © 2009-2019 Aarhus University