|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--pl.edu.pjwstk.yaod.yaql.abstractsyntaxtree.AbstractSyntaxTree | +--pl.edu.pjwstk.yaod.yaql.abstractsyntaxtree.Expression | +--pl.edu.pjwstk.yaod.yaql.abstractsyntaxtree.expressions.BinaryExpression | +--pl.edu.pjwstk.yaod.yaql.abstractsyntaxtree.expressions.NonAlgebraicExpression
The AlgebraicExpression
class represents the binary
non algebraic expression nodes in the abstract syntax tree.
Fields inherited from class pl.edu.pjwstk.yaod.yaql.abstractsyntaxtree.expressions.BinaryExpression |
l, r |
Constructor Summary | |
NonAlgebraicExpression(Expression l,
Expression r)
Creates a new binary expression node with the given expressions l
and r . |
Method Summary | |
void |
accept(Visitor v)
Method responsible for traversing the abstract syntax tree structure. |
Methods inherited from class pl.edu.pjwstk.yaod.yaql.abstractsyntaxtree.expressions.BinaryExpression |
show |
Methods inherited from class pl.edu.pjwstk.yaod.yaql.abstractsyntaxtree.AbstractSyntaxTree |
getLongestTypeAsSpacesString, getPreparedTypeAsString, getSpellingAndPosition, getTypeAsString, show |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NonAlgebraicExpression(Expression l, Expression r)
l
and r
.l
- any expression.r
- any expression.Method Detail |
public void accept(Visitor v) throws EvalException
accept
in class AbstractSyntaxTree
v
- the visitor.EvalException
- if evaluation fails.Visitor
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |