|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.javascript.jscomp.SyntheticAst
public class SyntheticAst
An AST generated totally by the compiler.
Method Summary | |
---|---|
void |
clearAst()
Removes any references to root node of the AST. |
Node |
getAstRoot(AbstractCompiler compiler)
Gets the root node of the AST for the source file this represents. |
InputId |
getInputId()
|
SourceFile |
getSourceFile()
Returns the source file the generated AST represents. |
void |
setSourceFile(SourceFile file)
Sets the source file the generated AST represents. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public Node getAstRoot(AbstractCompiler compiler)
SourceAst
getAstRoot
in interface SourceAst
public void clearAst()
SourceAst
clearAst
in interface SourceAst
public InputId getInputId()
getInputId
in interface SourceAst
public SourceFile getSourceFile()
SourceAst
getSourceFile
in interface SourceAst
public void setSourceFile(SourceFile file)
SourceAst
setSourceFile
in interface SourceAst
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |