| java.lang.Object com.caucho.es.parser.Variable
Variable | class Variable (Code) | | Expr is an intermediate form representing an expression.
|
declare | void declare(int javaScriptType, Expr typeExpr)(Code) | | Declare the type of this variable.
|
getId | ESId getId()(Code) | | Returns the variable's name.
|
getType | int getType()(Code) | | Returns the JavaScript type of the variable. If the type hasn't
been inferred yet, the type must be ESBase.
|
hasInit | boolean hasInit()(Code) | | |
isJavaGlobal | boolean isJavaGlobal()(Code) | | True if the variable is a global represented by a global field.
|
isJavaLocal | boolean isJavaLocal()(Code) | | Returns true if this is a variable that can be used just like a
java variable.
|
isLocal | boolean isLocal()(Code) | | |
isScope | boolean isScope()(Code) | | |
killLocal | void killLocal()(Code) | | |
setJavaGlobal | void setJavaGlobal(boolean isGlobal)(Code) | | Set the variable as a global.
|
setLocal | void setLocal()(Code) | | |
setType | void setType(int type)(Code) | | Sets the JavaScript type.
|
setType | void setType(int newType, Expr expr)(Code) | | Sets the type of this variable.
|
setUsedByClosure | void setUsedByClosure()(Code) | | |
|
|