|
|||||||||
| 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.NumberExpression
|
+--org.omegahat.Environment.Parser.Parse.BinaryExpression
|
+--org.omegahat.Environment.Parser.Parse.OperatorExpression
|
+--org.omegahat.Environment.Parser.Parse.LogicalExpression
|
+--org.omegahat.Environment.Parser.Parse.InstanceOfExpression
Expression of the form object instanceof Class,
more general than the Java version since the
right hand side is interpreted so can be an expression
that evaluates to a Class.
| Fields inherited from class org.omegahat.Environment.Parser.Parse.OperatorExpression |
operation |
| Fields inherited from class org.omegahat.Environment.Parser.Parse.BinaryExpression |
els, LHS, RHS |
| 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 | |
InstanceOfExpression(java.lang.Object e1,
java.lang.Object e2)
|
|
| Method Summary | |
java.lang.Object |
eval(Evaluator evaluator)
|
| Methods inherited from class org.omegahat.Environment.Parser.Parse.LogicalExpression |
asLogical, dontDoBoth, operate, operate, separator |
| Methods inherited from class org.omegahat.Environment.Parser.Parse.OperatorExpression |
operator, operator |
| Methods inherited from class org.omegahat.Environment.Parser.Parse.BinaryExpression |
element, element, elements, elements, getFirstChild, replaceChild, subset, toString |
| Methods inherited from class org.omegahat.Environment.Parser.Parse.NumberExpression |
asBoolean, asInt, asInteger, asNumber, isNumber, toInteger, toInteger, toNumber |
| Methods inherited from class org.omegahat.Environment.Parser.Parse.BasicExpression |
addChild, addComment, apply, apply, apply, children, children, comment, comment, depth, error, eval, evalInit, evaluationFrame, evaluator, getReferencedVariables, getReferencedVariables, getReferencedVariables, isActive, isActive, parent, parent, postComment, postComment, preComment, preComment, render, resolve, run, setParent, setParent, setParent, setParent, showComments, showComments, substitute, substitute |
| 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 |
| Methods inherited from interface org.omegahat.Environment.Language.Evaluable |
eval |
| Constructor Detail |
public InstanceOfExpression(java.lang.Object e1,
java.lang.Object e2)
| Method Detail |
public java.lang.Object eval(Evaluator evaluator)
throws java.lang.Throwable
eval in class LogicalExpression
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||