persistence.antlr
Class CommonASTWithHiddenTokens

java.lang.Object
  extended by persistence.antlr.BaseAST
      extended by persistence.antlr.CommonAST
          extended by persistence.antlr.CommonASTWithHiddenTokens
All Implemented Interfaces:
java.io.Serializable, persistence.antlr.collections.AST

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 persistence.antlr.BaseAST
down, right
 
Constructor Summary
CommonASTWithHiddenTokens()
           
CommonASTWithHiddenTokens(Token tok)
           
 
Method Summary
 CommonHiddenStreamToken getHiddenAfter()
           
 CommonHiddenStreamToken getHiddenBefore()
           
 void initialize(Token tok)
           
 
Methods inherited from class persistence.antlr.CommonAST
getText, getType, initialize, initialize, setText, setType
 
Methods inherited from class persistence.antlr.BaseAST
addChild, decode, encode, equals, equalsList, equalsListPartial, equalsTree, equalsTreePartial, findAll, findAllPartial, getColumn, getFirstChild, getLine, getNextSibling, getNumberOfChildren, getTokenNames, 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 persistence.antlr.collections.AST
Overrides:
initialize in class CommonAST