|
|||||||||
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.UnaryExpression
The UnaryExpression
class represents the unary expression nodes
in the abstract syntax tree.
Field Summary | |
Expression |
r
|
Constructor Summary | |
UnaryExpression(Expression r)
Creates a new unary expression node with the given expression r . |
Method Summary | |
void |
show(java.lang.String st)
Method responsible for displaying the unary node. |
Methods inherited from class pl.edu.pjwstk.yaod.yaql.abstractsyntaxtree.AbstractSyntaxTree |
accept, getLongestTypeAsSpacesString, getPreparedTypeAsString, getSpellingAndPosition, getTypeAsString, show |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public Expression r
Constructor Detail |
public UnaryExpression(Expression r)
r
.r
- any expression.Method Detail |
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 |