|
|||||||||
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.SingleExpression
The SingleExpression
class represents the single expression
nodes in the abstract syntax tree.
Constructor Summary | |
SingleExpression()
Creates a new single node. |
Method Summary | |
void |
accept(Visitor v)
Method responsible for traversing the abstract syntax tree structure. |
void |
show(java.lang.String st)
Method responsible for displaying the unary node. |
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 SingleExpression()
Method Detail |
public void accept(Visitor v) throws EvalException
accept
in class AbstractSyntaxTree
v
- the visitor.EvalException
- if evaluation fails.Visitor
public void show(java.lang.String st)
show
in class AbstractSyntaxTree
st
- the string which is an auxiliary tabulator.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |