de.java_chess.javaChess.pgn
Class PGNParser
java.lang.Object
|
+--antlr.Parser
|
+--antlr.LLkParser
|
+--de.java_chess.javaChess.pgn.PGNParser
- public class PGNParser
- extends antlr.LLkParser
- implements PGNTokenTypes
A parser for PGN (Portable Game Notation) files.
Fields inherited from class antlr.Parser |
astFactory,
inputState,
returnAST,
tokenNames,
traceDepth |
Constructor Summary |
|
PGNParser(antlr.ParserSharedInputState state)
|
|
PGNParser(antlr.TokenBuffer tokenBuf)
|
protected |
PGNParser(antlr.TokenBuffer tokenBuf,
int k)
|
|
PGNParser(antlr.TokenStream lexer)
|
protected |
PGNParser(antlr.TokenStream lexer,
int k)
|
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,
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 |
_tokenNames
public static final java.lang.String[] _tokenNames
_tokenSet_0
public static final antlr.collections.impl.BitSet _tokenSet_0
PGNParser
protected PGNParser(antlr.TokenBuffer tokenBuf,
int k)
PGNParser
public PGNParser(antlr.TokenBuffer tokenBuf)
PGNParser
protected PGNParser(antlr.TokenStream lexer,
int k)
PGNParser
public PGNParser(antlr.TokenStream lexer)
PGNParser
public PGNParser(antlr.ParserSharedInputState state)
pgnFile
public final void pgnFile()
throws antlr.RecognitionException,
antlr.TokenStreamException
tagPairSection
public final void tagPairSection()
throws antlr.RecognitionException,
antlr.TokenStreamException
moveTextSection
public final void moveTextSection()
throws antlr.RecognitionException,
antlr.TokenStreamException
tagPair
public final void tagPair()
throws antlr.RecognitionException,
antlr.TokenStreamException
eventTag
public final void eventTag()
throws antlr.RecognitionException,
antlr.TokenStreamException
siteTag
public final void siteTag()
throws antlr.RecognitionException,
antlr.TokenStreamException
dateTag
public final void dateTag()
throws antlr.RecognitionException,
antlr.TokenStreamException
roundTag
public final void roundTag()
throws antlr.RecognitionException,
antlr.TokenStreamException
whiteTag
public final void whiteTag()
throws antlr.RecognitionException,
antlr.TokenStreamException
blackTag
public final void blackTag()
throws antlr.RecognitionException,
antlr.TokenStreamException
resultTag
public final void resultTag()
throws antlr.RecognitionException,
antlr.TokenStreamException
move
public final void move()
throws antlr.RecognitionException,
antlr.TokenStreamException
ply
public final void ply()
throws antlr.RecognitionException,
antlr.TokenStreamException