Public Member Functions | |
PLUSNode (Token tok) | |
int | value () |
String | toString () |
void | xmlSerializeRootOpen (Writer out) throws IOException |
void | xmlSerializeRootClose (Writer out) throws IOException |
A simple node to represent PLUS operation
PLUSNode.PLUSNode | ( | Token | tok | ) |
String PLUSNode.toString | ( | ) |
Reimplemented from antlr.BaseAST.
int PLUSNode.value | ( | ) | [virtual] |
Compute value of subtree; this is heterogeneous part :)
Implements CalcAST.
References BinaryOperatorAST.left(), BinaryOperatorAST.right(), and CalcAST.value().
void PLUSNode.xmlSerializeRootClose | ( | Writer | out | ) | throws IOException |
Reimplemented from antlr.BaseAST.
void PLUSNode.xmlSerializeRootOpen | ( | Writer | out | ) | throws IOException |
Reimplemented from antlr.BaseAST.