|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
interface to mark a AstNode as Variable. Typically these are VariableExpression, FieldNode, PropertyNode and Parameter
Method Summary | |
Expression |
getInitialExpression()
expression used to initialize the variable or null of there is no initialization. |
String |
getName()
the name of the variable |
ClassNode |
getType()
the type of the variable |
boolean |
hasInitialExpression()
returns true if there is an initialization expression |
boolean |
isClosureSharedVariable()
|
boolean |
isDynamicTyped()
|
boolean |
isInStaticContext()
returns true if this variable is used in a static context. |
void |
setClosureSharedVariable(boolean inClosure)
|
Method Detail |
public ClassNode getType()
public String getName()
public Expression getInitialExpression()
public boolean hasInitialExpression()
public boolean isInStaticContext()
public boolean isDynamicTyped()
public boolean isClosureSharedVariable()
public void setClosureSharedVariable(boolean inClosure)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |