mjc

org.multijava.util.guigen
Class GuigenParser

java.lang.Object
  extended byantlr.Parser
      extended byantlr.LLkParser
          extended byorg.multijava.util.guigen.GuigenParser
All Implemented Interfaces:
GuigenTokenTypes

public class GuigenParser
extends antlr.LLkParser
implements GuigenTokenTypes


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.guigen.GuigenTokenTypes
COMMA, DOT, EOF, IDENT, LITERAL_acceptedSuffixes, LITERAL_imports, LITERAL_package, LITERAL_prefix, LITERAL_readableFiles, LITERAL_webpageLocation, LITERAL_webpageName, NULL_TREE_LOOKAHEAD, STRING
 
Constructor Summary
  GuigenParser(antlr.ParserSharedInputState state)
           
  GuigenParser(antlr.TokenBuffer tokenBuf)
           
protected GuigenParser(antlr.TokenBuffer tokenBuf, int k)
           
  GuigenParser(antlr.TokenStream lexer)
           
protected GuigenParser(antlr.TokenStream lexer, int k)
           
 
Method Summary
 DefinitionFile aCompilationUnit(String sourceFile)
           
 String aIdentifier()
           
 String aName()
           
 ArrayList aNameList()
           
 String aString()
           
 ArrayList aStringList()
           
 
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

GuigenParser

protected GuigenParser(antlr.TokenBuffer tokenBuf,
                       int k)

GuigenParser

public GuigenParser(antlr.TokenBuffer tokenBuf)

GuigenParser

protected GuigenParser(antlr.TokenStream lexer,
                       int k)

GuigenParser

public GuigenParser(antlr.TokenStream lexer)

GuigenParser

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

aNameList

public final ArrayList aNameList()
                          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

aStringList

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

mjc

mjc is Copyright (C) 2000-2004 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. mjc is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.