|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--antlr.BaseAST
|
+--antlr.CommonAST
|
+--org.omegahat.Environment.Parser.Parse.BasicExpression
|
+--org.omegahat.Environment.Parser.Parse.ElementAccess
Abstract class from which FieldAccess
and MethodCall are derived
to describe access to a compiled element of an instance of a class or a class itself.
| Field Summary | |
protected java.lang.String |
elementName
|
protected boolean |
isGlobal
Flag indicating if the qualifier is "global", indicating that the local scope should be ignored when resolving the element. |
protected boolean |
isSuper
Flag indicating if the qualifer (or the name of the element itself) is "super" |
protected ExpressionInt |
qualifier
|
| Fields inherited from class org.omegahat.Environment.Parser.Parse.BasicExpression |
children, comments, isActive, parent, POST, PRE |
| Fields inherited from class antlr.BaseAST |
down, right |
| Constructor Summary | |
ElementAccess()
|
|
ElementAccess(ExpressionInt qualifier,
java.lang.String id)
|
|
ElementAccess(java.lang.String id)
|
|
| Method Summary | |
java.lang.String |
elementName()
|
java.lang.String |
elementName(java.lang.String n)
|
antlr.collections.AST |
getFirstChild()
|
boolean |
isGlobal()
Accessor to isGlobal field. |
boolean |
isGlobal(boolean val)
Accessor to set the isGlobal field. |
boolean |
isSuper()
Accessor to isSuper field. |
boolean |
isSuper(boolean val)
Accessor to set the isSuper field. |
ExpressionInt |
qualifier()
|
ExpressionInt |
qualifier(ExpressionInt q)
|
java.lang.Object |
qualifierEval(Evaluator evaluator)
|
| Methods inherited from class org.omegahat.Environment.Parser.Parse.BasicExpression |
addChild, addComment, apply, apply, apply, children, children, comment, comment, depth, error, eval, eval, evalInit, evaluationFrame, evaluator, getReferencedVariables, getReferencedVariables, getReferencedVariables, isActive, isActive, parent, parent, postComment, postComment, preComment, preComment, render, replaceChild, resolve, run, setParent, setParent, setParent, setParent, showComments, showComments, subset, substitute, substitute, toString |
| Methods inherited from class antlr.CommonAST |
getText, getType, initialize, initialize, initialize, setText, setType |
| Methods inherited from class antlr.BaseAST |
addChild, equals, equalsList, equalsListPartial, equalsTree, equalsTreePartial, findAll, findAllPartial, getNextSibling, removeChildren, setFirstChild, setNextSibling, setVerboseStringConversion, toStringList, toStringTree |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.omegahat.Environment.Parser.Parse.ExpressionInt |
error, resolve, substitute |
| Methods inherited from interface org.omegahat.Environment.Parser.Parse.TreeNodeInt |
addChild, children, depth, parent, parent, replaceChild |
| Methods inherited from interface org.omegahat.Environment.Language.Evaluable |
eval, eval |
| Field Detail |
protected ExpressionInt qualifier
protected java.lang.String elementName
protected boolean isSuper
protected boolean isGlobal
| Constructor Detail |
public ElementAccess()
public ElementAccess(java.lang.String id)
public ElementAccess(ExpressionInt qualifier,
java.lang.String id)
| Method Detail |
public java.lang.String elementName()
public java.lang.String elementName(java.lang.String n)
public ExpressionInt qualifier()
public ExpressionInt qualifier(ExpressionInt q)
public java.lang.Object qualifierEval(Evaluator evaluator)
throws java.lang.Throwable
public boolean isSuper()
isSuper field.public boolean isSuper(boolean val)
isSuper field.public boolean isGlobal()
isGlobal field.public boolean isGlobal(boolean val)
isGlobal field.public antlr.collections.AST getFirstChild()
getFirstChild in class antlr.BaseAST
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||