Public Member Functions

PLUSNode Class Reference

Inheritance diagram for PLUSNode:
BinaryOperatorAST CalcAST antlr.BaseAST antlr.collections.AST

List of all members.

Public Member Functions

 PLUSNode (Token tok)
int value ()
String toString ()
void xmlSerializeRootOpen (Writer out) throws IOException
void xmlSerializeRootClose (Writer out) throws IOException

Detailed Description

A simple node to represent PLUS operation


Constructor & Destructor Documentation

PLUSNode.PLUSNode ( Token  tok  ) 

Member Function Documentation

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.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties