|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectkoala.dynamicjava.tree.Node
koala.dynamicjava.tree.Expression
koala.dynamicjava.tree.UnaryExpression
public abstract class UnaryExpression
This class represents the unary expression nodes of the syntax tree
| Field Summary |
|---|
| Fields inherited from interface koala.dynamicjava.tree.ExpressionContainer |
|---|
EXPRESSION |
| Constructor Summary | |
|---|---|
protected |
UnaryExpression(Expression exp,
SourceInfo si)
Initializes the expression |
| Method Summary | |
|---|---|
Expression |
getExpression()
Returns the target expression |
void |
setExpression(Expression e)
Sets the target expression |
java.lang.String |
toString()
Implementation of toString for use in unit testing |
| Methods inherited from class koala.dynamicjava.tree.Node |
|---|
acceptVisitor, archiveProperties, getProperties, getProperty, getSourceInfo, hasProperty, setProperty, setSourceInfo |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected UnaryExpression(Expression exp,
SourceInfo si)
exp - the target expression
java.lang.IllegalArgumentException - if exp is null| Method Detail |
|---|
public Expression getExpression()
getExpression in interface ExpressionContainerpublic void setExpression(Expression e)
setExpression in interface ExpressionContainerjava.lang.IllegalArgumentException - if e is nullpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||