|
|||||||||
| 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.AssignExpression
|
+--org.omegahat.Models.Formulae.Expressions.NamedAttribute
A class used in parsing name = value pairs in a variable declaration within a formula. The idea is to support arbitrary named properties whose values are potentially expressions rather than just literals.
Factor[x=1,y=sqrt(blocks.size)] breed ~ x, y ;
| Fields inherited from class org.omegahat.Environment.Parser.Parse.AssignExpression |
database, database_id, name |
| 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 | |
NamedAttribute(Name name,
java.lang.Object rhs)
|
|
| Methods inherited from class org.omegahat.Environment.Parser.Parse.AssignExpression |
arrayAssignment, arrayOperation, computeNumeric, database, database, databaseId, databaseId, eval, getDatabase, getName, isMathOperation, numericComputation, operate, setField |
| Methods inherited from class org.omegahat.Environment.Parser.Parse.OperatorExpression |
operator, operator, separator |
| 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 NamedAttribute(Name name,
java.lang.Object rhs)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||