FileDocCategorySizeDatePackage
CommonASTWithHiddenTokens.javaAPI DocGlassfish v2 API997Wed Aug 30 15:34:06 BST 2006persistence.antlr

CommonASTWithHiddenTokens

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

Fields Summary
protected CommonHiddenStreamToken
hiddenBefore
protected CommonHiddenStreamToken
hiddenAfter
Constructors Summary
public CommonASTWithHiddenTokens()

        super();
    
public CommonASTWithHiddenTokens(Token tok)

        super(tok);
    
Methods Summary
public persistence.antlr.CommonHiddenStreamTokengetHiddenAfter()

        return hiddenAfter;
    
public persistence.antlr.CommonHiddenStreamTokengetHiddenBefore()

        return hiddenBefore;
    
public voidinitialize(persistence.antlr.Token tok)

        CommonHiddenStreamToken t = (CommonHiddenStreamToken)tok;
        super.initialize(t);
        hiddenBefore = t.getHiddenBefore();
        hiddenAfter = t.getHiddenAfter();