public class OperationNode extends java.lang.Object implements SyntaxNode
Modifier and Type | Field and Description |
---|---|
protected SyntaxNode |
left |
protected char |
operator
Returns the infix representation of this operator
|
protected SyntaxNode |
right |
Constructor and Description |
---|
OperationNode(SyntaxNode nLeft,
SyntaxNode nRight,
char ch) |
Modifier and Type | Method and Description |
---|---|
void |
addInstructions(java.util.List<java.lang.Object> l) |
java.lang.String |
toString() |
protected SyntaxNode left
protected SyntaxNode right
protected char operator
public OperationNode(SyntaxNode nLeft, SyntaxNode nRight, char ch)
public void addInstructions(java.util.List<java.lang.Object> l)
addInstructions
in interface SyntaxNode
public java.lang.String toString()
toString
in class java.lang.Object