JML

org.multijava.util.optgen
Class OptgenParser

java.lang.Object
  extended byantlr.Parser
      extended byantlr.LLkParser
          extended byorg.multijava.util.optgen.OptgenParser
All Implemented Interfaces:
OptgenTokenTypes

public class OptgenParser
extends antlr.LLkParser
implements OptgenTokenTypes


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.optgen.OptgenTokenTypes
COMMA, DOT, EOF, IDENT, INT, LITERAL_action, LITERAL_advanced, LITERAL_boolean, LITERAL_casevalue, LITERAL_default, LITERAL_help, LITERAL_implement, LITERAL_int, LITERAL_javadocAdvanced, LITERAL_javadocNo, LITERAL_javadocNormal, LITERAL_longname, LITERAL_normal, LITERAL_optionalDefault, LITERAL_package, LITERAL_parent, LITERAL_prefix, LITERAL_requireArgument, LITERAL_selection, LITERAL_shortcut, LITERAL_String, LITERAL_StringList, LITERAL_StringSystemProperty, LITERAL_tableHeader, LITERAL_type, LITERAL_url, LITERAL_usage, LITERAL_version, NULL_TREE_LOOKAHEAD, STRING
 
Constructor Summary
  OptgenParser(antlr.ParserSharedInputState state)
           
  OptgenParser(antlr.TokenBuffer tokenBuf)
           
protected OptgenParser(antlr.TokenBuffer tokenBuf, int k)
           
  OptgenParser(antlr.TokenStream lexer)
           
protected OptgenParser(antlr.TokenStream lexer, int k)
           
 
Method Summary
 DefinitionFile aCompilationUnit(String sourceFile)
           
 String aIdentifier()
           
 int aInt()
           
 String aName()
           
 OptionDefinition aOptionDefinition()
           
 String aOptionType()
           
 String aString()
           
 ArrayList aStringArray()
           
 
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

OptgenParser

protected OptgenParser(antlr.TokenBuffer tokenBuf,
                       int k)

OptgenParser

public OptgenParser(antlr.TokenBuffer tokenBuf)

OptgenParser

protected OptgenParser(antlr.TokenStream lexer,
                       int k)

OptgenParser

public OptgenParser(antlr.TokenStream lexer)

OptgenParser

public OptgenParser(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

aString

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

aOptionDefinition

public final OptionDefinition aOptionDefinition()
                                         throws antlr.RecognitionException,
                                                antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

aStringArray

public final ArrayList aStringArray()
                             throws antlr.RecognitionException,
                                    antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

aInt

public final int aInt()
               throws antlr.RecognitionException,
                      antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

aOptionType

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