JML

org.multijava.util.msggen
Class MsggenParser

java.lang.Object
  extended byantlr.Parser
      extended byantlr.LLkParser
          extended byorg.multijava.util.msggen.MsggenParser
All Implemented Interfaces:
MsggenTokenTypes

public class MsggenParser
extends antlr.LLkParser
implements MsggenTokenTypes


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.msggen.MsggenTokenTypes
DOT, EOF, IDENT, LITERAL_caution, LITERAL_error, LITERAL_info, LITERAL_message, LITERAL_notice, LITERAL_package, LITERAL_prefix, LITERAL_warning_unchecked, NULL_TREE_LOOKAHEAD, STRING
 
Constructor Summary
  MsggenParser(antlr.ParserSharedInputState state)
           
  MsggenParser(antlr.TokenBuffer tokenBuf)
           
protected MsggenParser(antlr.TokenBuffer tokenBuf, int k)
           
  MsggenParser(antlr.TokenStream lexer)
           
protected MsggenParser(antlr.TokenStream lexer, int k)
           
 
Method Summary
 DefinitionFile aCompilationUnit(String sourceFile)
           
 String aIdentifier()
           
 MessageDefinition aMessageDefinition()
           
 String aName()
           
 String aString()
           
 
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

MsggenParser

protected MsggenParser(antlr.TokenBuffer tokenBuf,
                       int k)

MsggenParser

public MsggenParser(antlr.TokenBuffer tokenBuf)

MsggenParser

protected MsggenParser(antlr.TokenStream lexer,
                       int k)

MsggenParser

public MsggenParser(antlr.TokenStream lexer)

MsggenParser

public MsggenParser(antlr.ParserSharedInputState state)
Method Detail

aCompilationUnit

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

aIdentifier

public final String aIdentifier()
                         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

aMessageDefinition

public final MessageDefinition aMessageDefinition()
                                           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.