| |
|
| java.lang.Object org.mozilla.javascript.Node org.mozilla.javascript.ScriptOrFnNode
All known Subclasses: org.mozilla.javascript.FunctionNode,
ScriptOrFnNode | public ScriptOrFnNode(int nodeType)(Code) | | |
addSymbol | void addSymbol(Symbol symbol)(Code) | | |
flattenSymbolTable | void flattenSymbolTable(boolean flattenAllTables)(Code) | | Assign every symbol a unique integer index. Generate arrays of variable
names and constness that can be indexed by those indices.
Parameters: flattenAllTables - if true, flatten all symbol tables, includednested block scope symbol tables. If false, just flatten the script'sor function's symbol table. |
getBaseLineno | final public int getBaseLineno()(Code) | | |
getEncodedSourceEnd | final public int getEncodedSourceEnd()(Code) | | |
getEncodedSourceStart | final public int getEncodedSourceStart()(Code) | | |
getEndLineno | final public int getEndLineno()(Code) | | |
getFunctionCount | final public int getFunctionCount()(Code) | | |
getIndexForNameNode | public int getIndexForNameNode(Node nameNode)(Code) | | |
getParamAndVarConst | final public boolean[] getParamAndVarConst()(Code) | | |
getParamAndVarCount | final public int getParamAndVarCount()(Code) | | |
getParamAndVarNames | final public String[] getParamAndVarNames()(Code) | | |
getParamCount | final public int getParamCount()(Code) | | |
getParamOrVarName | final public String getParamOrVarName(int index)(Code) | | |
getRegexpCount | final public int getRegexpCount()(Code) | | |
getRegexpFlags | final public String getRegexpFlags(int index)(Code) | | |
getRegexpString | final public String getRegexpString(int index)(Code) | | |
setBaseLineno | final public void setBaseLineno(int lineno)(Code) | | |
setCompilerData | final public void setCompilerData(Object data)(Code) | | |
setEncodedSourceBounds | final public void setEncodedSourceBounds(int start, int end)(Code) | | |
setEndLineno | final public void setEndLineno(int lineno)(Code) | | |
setSourceName | final public void setSourceName(String sourceName)(Code) | | |
|
|
|