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