antlr
Class CommonASTWithHiddenTokens

java.lang.Object
  |
  +--antlr.BaseAST
        |
        +--antlr.CommonAST
              |
              +--antlr.CommonASTWithHiddenTokens
All Implemented Interfaces:
AST, Serializable

public class CommonASTWithHiddenTokens
extends CommonAST

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

See Also:
Serialized Form

Field Summary
protected  CommonHiddenStreamToken hiddenAfter
           
protected  CommonHiddenStreamToken hiddenBefore
           
 
Fields inherited from class antlr.BaseAST
down, right
 
Constructor Summary
CommonASTWithHiddenTokens()
           
CommonASTWithHiddenTokens(Token tok)
           
 
Method Summary
 CommonHiddenStreamToken getHiddenAfter()
           
 CommonHiddenStreamToken getHiddenBefore()
           
 void initialize(Token tok)
           
 
Methods inherited from class antlr.CommonAST
getText, getType, initialize, initialize, setText, setType
 
Methods inherited from class antlr.BaseAST
addChild, decode, encode, equals, equalsList, equalsListPartial, equalsTree, equalsTreePartial, findAll, findAllPartial, getFirstChild, getNextSibling, getNumberOfChildren, removeChildren, setFirstChild, setNextSibling, setVerboseStringConversion, toString, toStringList, toStringTree, xmlSerialize, xmlSerializeNode, xmlSerializeRootClose, xmlSerializeRootOpen
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

hiddenBefore

protected CommonHiddenStreamToken hiddenBefore

hiddenAfter

protected CommonHiddenStreamToken hiddenAfter
Constructor Detail

CommonASTWithHiddenTokens

public CommonASTWithHiddenTokens()

CommonASTWithHiddenTokens

public CommonASTWithHiddenTokens(Token tok)
Method Detail

getHiddenAfter

public CommonHiddenStreamToken getHiddenAfter()

getHiddenBefore

public CommonHiddenStreamToken getHiddenBefore()

initialize

public void initialize(Token tok)
Specified by:
initialize in interface AST
Overrides:
initialize in class CommonAST


Copyright 1999-2003 Oliver Zeigermann. All Rights Reserved.