net.sf.imageCave.database
Class CfgParser

java.lang.Object
  |
  +--antlr.Parser
        |
        +--antlr.LLkParser
              |
              +--net.sf.imageCave.database.CfgParser
All Implemented Interfaces:
CFGTokenTypes

public class CfgParser
extends antlr.LLkParser
implements CFGTokenTypes


Field Summary
static java.lang.String[] _tokenNames
           
static antlr.collections.impl.BitSet _tokenSet_0
           
static antlr.collections.impl.BitSet _tokenSet_1
           
static antlr.collections.impl.BitSet _tokenSet_2
           
static antlr.collections.impl.BitSet _tokenSet_3
           
 
Fields inherited from class antlr.Parser
astFactory, inputState, returnAST, tokenNames, tokenTypeToASTClassMap, traceDepth
 
Fields inherited from interface net.sf.imageCave.database.CFGTokenTypes
BLOCK, CLOSE_BLOCK, DIGIT, EOF, EQ, ESCAPE, IDENTIFIER, LITERAL, ML_COMMENT, NULL_TREE_LOOKAHEAD, OPEN_BLOCK, SEMI, SL_COMMENT, STATEMENT, WS
 
Constructor Summary
  CfgParser(antlr.ParserSharedInputState state)
           
  CfgParser(antlr.TokenBuffer tokenBuf)
           
protected CfgParser(antlr.TokenBuffer tokenBuf, int k)
           
  CfgParser(antlr.TokenStream lexer)
           
protected CfgParser(antlr.TokenStream lexer, int k)
           
 
Method Summary
 void block()
           
protected  void buildTokenTypeASTClassMap()
           
 void expression()
           
 void startRule()
           
 void statement()
           
 
Methods inherited from class antlr.LLkParser
consume, LA, LT, traceIn, traceOut
 
Methods inherited from class antlr.Parser
addMessageListener, addParserListener, addParserMatchListener, addParserTokenListener, addSemanticPredicateListener, addSyntacticPredicateListener, addTraceListener, consumeUntil, consumeUntil, defaultDebuggingSetup, getAST, getASTFactory, getFilename, getInputState, getTokenName, getTokenNames, getTokenTypeToASTClassMap, isDebugMode, mark, match, match, matchNot, panic, removeMessageListener, removeParserListener, removeParserMatchListener, removeParserTokenListener, removeSemanticPredicateListener, removeSyntacticPredicateListener, removeTraceListener, reportError, reportError, reportWarning, rewind, setASTFactory, setASTNodeClass, setASTNodeType, setDebugMode, setFilename, setIgnoreInvalidDebugCalls, setInputState, setTokenBuffer, traceIndent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_tokenNames

public static final java.lang.String[] _tokenNames

_tokenSet_0

public static final antlr.collections.impl.BitSet _tokenSet_0

_tokenSet_1

public static final antlr.collections.impl.BitSet _tokenSet_1

_tokenSet_2

public static final antlr.collections.impl.BitSet _tokenSet_2

_tokenSet_3

public static final antlr.collections.impl.BitSet _tokenSet_3
Constructor Detail

CfgParser

protected CfgParser(antlr.TokenBuffer tokenBuf,
                    int k)

CfgParser

public CfgParser(antlr.TokenBuffer tokenBuf)

CfgParser

protected CfgParser(antlr.TokenStream lexer,
                    int k)

CfgParser

public CfgParser(antlr.TokenStream lexer)

CfgParser

public CfgParser(antlr.ParserSharedInputState state)
Method Detail

startRule

public final void startRule()
                     throws antlr.RecognitionException,
                            antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

block

public final void block()
                 throws antlr.RecognitionException,
                        antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

statement

public final void statement()
                     throws antlr.RecognitionException,
                            antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

expression

public final void expression()
                      throws antlr.RecognitionException,
                             antlr.TokenStreamException
antlr.RecognitionException
antlr.TokenStreamException

buildTokenTypeASTClassMap

protected void buildTokenTypeASTClassMap()


Copyright 2004 Brian Lund, Justin Rasmussen, & Stuart Tett. All Rights Reserved.