JML

org.multijava.util.lexgen
Class LexgenParser

java.lang.Object
  extended byantlr.Parser
      extended byantlr.LLkParser
          extended byorg.multijava.util.lexgen.LexgenParser
All Implemented Interfaces:
LexgenTokenTypes

public class LexgenParser
extends antlr.LLkParser
implements LexgenTokenTypes


Field Summary
static String[] _tokenNames
           
 
Fields inherited from class antlr.LLkParser
 
Fields inherited from class antlr.Parser
astFactory, inputState, returnAST, tokenNames, tokenTypeToASTClassMap, traceDepth
 
Fields inherited from interface org.multijava.util.lexgen.LexgenTokenTypes
DOT, EOF, IDENT, NULL_TREE_LOOKAHEAD, STRING
 
Constructor Summary
  LexgenParser(antlr.ParserSharedInputState state)
           
  LexgenParser(antlr.TokenBuffer tokenBuf)
           
protected LexgenParser(antlr.TokenBuffer tokenBuf, int k)
           
  LexgenParser(antlr.TokenStream lexer)
           
protected LexgenParser(antlr.TokenStream lexer, int k)
           
 
Method Summary
 DefinitionFile aCompilationUnit(String sourceFile)
           
 String aName()
           
 String anIdentifier()
           
 String aString()
           
 TokenDefinition aTokenDefinition()
           
 
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 String[] _tokenNames
Constructor Detail

LexgenParser

protected LexgenParser(antlr.TokenBuffer tokenBuf,
                       int k)

LexgenParser

public LexgenParser(antlr.TokenBuffer tokenBuf)

LexgenParser

protected LexgenParser(antlr.TokenStream lexer,
                       int k)

LexgenParser

public LexgenParser(antlr.TokenStream lexer)

LexgenParser

public LexgenParser(antlr.ParserSharedInputState state)
Method Detail

aCompilationUnit

public final DefinitionFile aCompilationUnit(String sourceFile)
                                      throws antlr.RecognitionException,
                                             antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

anIdentifier

public final String anIdentifier()
                          throws antlr.RecognitionException,
                                 antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

aName

public final String aName()
                   throws antlr.RecognitionException,
                          antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

aTokenDefinition

public final TokenDefinition aTokenDefinition()
                                       throws antlr.RecognitionException,
                                              antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

aString

public final String aString()
                     throws antlr.RecognitionException,
                            antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

JML

JML is Copyright (C) 1998-2002 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This release depends on code from the MultiJava project and is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.