de.java_chess.javaChess.pgn
Class PGNLexer

java.lang.Object
  |
  +--antlr.CharScanner
        |
        +--de.java_chess.javaChess.pgn.PGNLexer

public class PGNLexer
extends antlr.CharScanner
implements PGNTokenTypes, antlr.TokenStream

A lexer for PGN files.


Field Summary
static antlr.collections.impl.BitSet _tokenSet_0
           
static antlr.collections.impl.BitSet _tokenSet_1
           
 
Fields inherited from class antlr.CharScanner
_returnToken, caseSensitive, caseSensitiveLiterals, commitToPath, EOF_CHAR, hashString, inputState, literals, saveConsumedInput, text, tokenObjectClass, traceDepth
 
Fields inherited from interface de.java_chess.javaChess.pgn.PGNTokenTypes
DOT, EOF, FIGURINE_LETTER_CODE, LITERAL_x, MOVE_INDEX, NULL_TREE_LOOKAHEAD, SL_COMMENT, SQUARE_INDEX, SQUARE_NAME, STRING_LITERAL
 
Constructor Summary
PGNLexer(antlr.InputBuffer ib)
           
PGNLexer(java.io.InputStream in)
           
PGNLexer(antlr.LexerSharedInputState state)
           
PGNLexer(java.io.Reader in)
           
 
Method Summary
 void mDOT(boolean _createToken)
           
 void mFIGURINE_LETTER_CODE(boolean _createToken)
           
 void mMOVE_INDEX(boolean _createToken)
           
 void mSL_COMMENT(boolean _createToken)
           
 void mSQUARE_NAME(boolean _createToken)
           
 void mSTRING_LITERAL(boolean _createToken)
           
 antlr.Token nextToken()
           
 
Methods inherited from class antlr.CharScanner
append, append, commit, consume, consumeUntil, consumeUntil, getCaseSensitive, getCaseSensitiveLiterals, getColumn, getCommitToPath, getFilename, getInputBuffer, getInputState, getLine, getText, getTokenObject, LA, makeToken, mark, match, match, match, matchNot, matchRange, newline, panic, panic, reportError, reportError, reportWarning, resetText, rewind, setCaseSensitive, setColumn, setCommitToPath, setFilename, setInputState, setLine, setText, setTokenObjectClass, tab, testLiteralsTable, testLiteralsTable, toLower, traceIn, traceIndent, traceOut, uponEOF
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_tokenSet_0

public static final antlr.collections.impl.BitSet _tokenSet_0

_tokenSet_1

public static final antlr.collections.impl.BitSet _tokenSet_1
Constructor Detail

PGNLexer

public PGNLexer(java.io.InputStream in)

PGNLexer

public PGNLexer(java.io.Reader in)

PGNLexer

public PGNLexer(antlr.InputBuffer ib)

PGNLexer

public PGNLexer(antlr.LexerSharedInputState state)
Method Detail

nextToken

public antlr.Token nextToken()
                      throws antlr.TokenStreamException
Specified by:
nextToken in interface antlr.TokenStream
Overrides:
nextToken in class antlr.CharScanner

mDOT

public final void mDOT(boolean _createToken)
                throws antlr.RecognitionException,
                       antlr.CharStreamException,
                       antlr.TokenStreamException

mSL_COMMENT

public final void mSL_COMMENT(boolean _createToken)
                       throws antlr.RecognitionException,
                              antlr.CharStreamException,
                              antlr.TokenStreamException

mSTRING_LITERAL

public final void mSTRING_LITERAL(boolean _createToken)
                           throws antlr.RecognitionException,
                                  antlr.CharStreamException,
                                  antlr.TokenStreamException

mSQUARE_NAME

public final void mSQUARE_NAME(boolean _createToken)
                        throws antlr.RecognitionException,
                               antlr.CharStreamException,
                               antlr.TokenStreamException

mFIGURINE_LETTER_CODE

public final void mFIGURINE_LETTER_CODE(boolean _createToken)
                                 throws antlr.RecognitionException,
                                        antlr.CharStreamException,
                                        antlr.TokenStreamException

mMOVE_INDEX

public final void mMOVE_INDEX(boolean _createToken)
                       throws antlr.RecognitionException,
                              antlr.CharStreamException,
                              antlr.TokenStreamException