Logo Search packages:      
Sourcecode: antlr version File versions

PLUSNode Class Reference

#include <PLUSNode.hpp>

Inheritance diagram for PLUSNode:

List of all members.


Detailed Description

A simple node to represent PLUS operation

Definition at line 7 of file PLUSNode.hpp.


Public Member Functions

virtual void addChild (AST node)
void addChild (AST node)
 ANTLR_USE_NAMESPACE (antlr) RefAST clone(void) const
 ANTLR_USE_NAMESPACE (std) string toString() const
virtual object Clone ()
virtual bool Equals (AST t)
override bool Equals (Object obj)
boolean equals (AST t)
virtual bool EqualsList (AST t)
boolean equalsList (AST t)
virtual bool EqualsListPartial (AST sub)
boolean equalsListPartial (AST sub)
virtual bool EqualsTree (AST t)
boolean equalsTree (AST t)
virtual bool EqualsTreePartial (AST sub)
boolean equalsTreePartial (AST sub)
virtual IEnumerator findAll (AST target)
ASTEnumeration findAll (AST target)
virtual IEnumerator findAllPartial (AST sub)
ASTEnumeration findAllPartial (AST sub)
virtual AST getFirstChild ()
AST getFirstChild ()
override Int32 GetHashCode ()
virtual AST getNextSibling ()
AST getNextSibling ()
int getNumberOfChildren ()
 Get number of children of this node; if leaf, returns 0.
int getNumberOfChildren ()
virtual string getText ()
String getText ()
int getType ()
abstract void initialize (int t, string txt)
override void initialize (Token tok)
override void initialize (AST t)
override void initialize (int t, String txt)
void initialize (ANTLR_USE_NAMESPACE(antlr) RefToken tok)
void initialize (ANTLR_USE_NAMESPACE(antlr) RefAST t)
void initialize (int t, const ANTLR_USE_NAMESPACE(std) string &txt)
CalcAST Left ()
CalcAST left ()
RefCalcAST left () const
 PLUSNode (Token tok)
 PLUSNode (Token tok)
virtual void removeChildren ()
void removeChildren ()
CalcAST Right ()
CalcAST right ()
RefCalcAST right () const
virtual void setFirstChild (AST c)
void setFirstChild (AST c)
virtual void setNextSibling (AST n)
void setNextSibling (AST n)
virtual void setText (string text)
void setText (String text)
virtual void setType (int ttype)
void setType (int ttype)
String toString ()
override string ToString ()
virtual string ToStringList ()
String toStringList ()
string ToStringTree (string prefix)
virtual string ToStringTree ()
String toStringTree ()
int value ()
override int Value ()
int value () const
virtual void xmlSerialize (TextWriter outWriter)
void xmlSerialize (Writer out) throws IOException
virtual void xmlSerializeNode (TextWriter outWriter)
void xmlSerializeNode (Writer out) throws IOException
void xmlSerializeRootClose (Writer out) throws IOException
override void xmlSerializeRootClose (TextWriter outWriter)
void xmlSerializeRootOpen (Writer out) throws IOException
override void xmlSerializeRootOpen (TextWriter outWriter)

Static Public Member Functions

static ANTLR_USE_NAMESPACE (antlr) RefAST factory(void)
static string decode (string text)
static String decode (String text)
static string encode (string text)
static String encode (String text)
static void setVerboseStringConversion (bool verbose, string[] names)
static void setVerboseStringConversion (boolean verbose, String[] names)

Protected Attributes

internal BaseAST down
BaseAST down
BaseAST right

Properties

virtual int Type [get, set]

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index