public abstract class UnaryNode extends java.lang.Object implements SyntaxNode
Modifier and Type | Field and Description |
---|---|
protected SyntaxNode |
child |
Constructor and Description |
---|
UnaryNode(SyntaxNode node) |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
getPrefix()
Used by
toString() . |
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addInstructions
protected SyntaxNode child
public UnaryNode(SyntaxNode node)
public abstract java.lang.String getPrefix()
toString()
. Returns the prefix representation of this operatorpublic java.lang.String toString()
toString
in class java.lang.Object