Logo Search packages:      
Sourcecode: antlr version File versions

antlr::CommonASTWithHiddenTokens Class Reference

Inheritance diagram for antlr::CommonASTWithHiddenTokens:

antlr::CommonAST antlr::CommonAST antlr::BaseAST antlr::BaseAST antlr::BaseAST antlr::BaseAST antlr::collections::AST antlr::collections::AST antlr::collections::AST antlr::collections::AST antlr::collections::AST antlr::collections::AST antlr::collections::AST antlr::collections::AST

List of all members.


Detailed Description

A CommonAST whose initialization copies hidden token information from the Token used to create a node.

Definition at line 13 of file CommonASTWithHiddenTokens.java.


Public Member Functions

virtual void addChild (AST node)
void addChild (AST node)
override object Clone ()
 CommonASTWithHiddenTokens (Token tok)
 CommonASTWithHiddenTokens (Token tok)
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 CommonHiddenStreamToken getHiddenAfter ()
CommonHiddenStreamToken getHiddenAfter ()
virtual CommonHiddenStreamToken getHiddenBefore ()
CommonHiddenStreamToken getHiddenBefore ()
virtual AST getNextSibling ()
AST getNextSibling ()
int getNumberOfChildren ()
 Get number of children of this node; if leaf, returns 0.
int getNumberOfChildren ()
override string getText ()
String getText ()
int getType ()
override void initialize (int t, string txt)
void initialize (AST t)
void initialize (int t, String txt)
override void initialize (Token tok)
void initialize (Token tok)
virtual void removeChildren ()
void removeChildren ()
virtual void setFirstChild (AST c)
void setFirstChild (AST c)
virtual void setNextSibling (AST n)
void setNextSibling (AST n)
override void setText (string text_)
void setText (String text_)
override void setType (int ttype_)
void setType (int ttype_)
override string ToString ()
String toString ()
virtual string ToStringList ()
String toStringList ()
string ToStringTree (string prefix)
virtual string ToStringTree ()
String toStringTree ()
virtual void xmlSerialize (TextWriter outWriter)
void xmlSerialize (Writer out) throws IOException
virtual void xmlSerializeNode (TextWriter outWriter)
void xmlSerializeNode (Writer out) throws IOException
virtual void xmlSerializeRootClose (TextWriter outWriter)
void xmlSerializeRootClose (Writer out) throws IOException
virtual void xmlSerializeRootOpen (TextWriter outWriter)
void xmlSerializeRootOpen (Writer out) throws IOException

Static Public Member Functions

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 Member Functions

 CommonASTWithHiddenTokens (CommonASTWithHiddenTokens another)

Protected Attributes

internal BaseAST down
BaseAST down
internal CommonHiddenStreamToken hiddenAfter
CommonHiddenStreamToken hiddenAfter
internal CommonHiddenStreamToken hiddenBefore
CommonHiddenStreamToken hiddenBefore
internal BaseAST right
BaseAST right

Package Attributes

String text
int ttype = Token.INVALID_TYPE

Properties

override int Type [get, set]

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

Generated by  Doxygen 1.6.0   Back to index