at.dms.compiler.tools.lexgen
Class LexgenParser

java.lang.Object
  extended by at.dms.compiler.tools.antlr.runtime.Parser
      extended by at.dms.compiler.tools.antlr.runtime.LLkParser
          extended by at.dms.compiler.tools.lexgen.LexgenParser
All Implemented Interfaces:
LexgenTokenTypes

public class LexgenParser
extends LLkParser
implements LexgenTokenTypes


Field Summary
static String[] _tokenNames
           
 
Fields inherited from class at.dms.compiler.tools.antlr.runtime.Parser
inputState, tokenNames
 
Fields inherited from interface at.dms.compiler.tools.lexgen.LexgenTokenTypes
DOT, EOF, IDENT, NULL_TREE_LOOKAHEAD, STRING
 
Constructor Summary
  LexgenParser(ParserSharedInputState state)
           
  LexgenParser(TokenBuffer tokenBuf)
           
protected LexgenParser(TokenBuffer tokenBuf, int k)
           
  LexgenParser(TokenStream lexer)
           
protected LexgenParser(TokenStream lexer, int k)
           
 
Method Summary
 at.dms.compiler.tools.lexgen.DefinitionFile aCompilationUnit(String sourceFile)
           
 
Methods inherited from class at.dms.compiler.tools.antlr.runtime.LLkParser
consume, LA, LT
 
Methods inherited from class at.dms.compiler.tools.antlr.runtime.Parser
consumeUntil, consumeUntil, defaultDebuggingSetup, getFilename, getInputState, getTokenName, getTokenNames, mark, match, match, matchNot, panic, reportError, reportError, reportWarning, rewind, setFilename, setInputState, setTokenBuffer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_tokenNames

public static final String[] _tokenNames
Constructor Detail

LexgenParser

protected LexgenParser(TokenBuffer tokenBuf,
                       int k)

LexgenParser

public LexgenParser(TokenBuffer tokenBuf)

LexgenParser

protected LexgenParser(TokenStream lexer,
                       int k)

LexgenParser

public LexgenParser(TokenStream lexer)

LexgenParser

public LexgenParser(ParserSharedInputState state)
Method Detail

aCompilationUnit

public final at.dms.compiler.tools.lexgen.DefinitionFile aCompilationUnit(String sourceFile)
                                                                   throws RecognitionException,
                                                                          TokenStreamException
Throws:
RecognitionException
TokenStreamException