Package net.ontopia.topicmaps.utils.ltm
Class LTMLexer
- java.lang.Object
-
- antlr.CharScanner
-
- net.ontopia.topicmaps.utils.ltm.LTMLexer
-
- All Implemented Interfaces:
antlr.TokenStream
,LTMParserTokenTypes
public class LTMLexer extends antlr.CharScanner implements LTMParserTokenTypes, antlr.TokenStream
INTERNAL: Lexer for LTM syntax.
-
-
Field Summary
Fields Modifier and Type Field Description static antlr.collections.impl.BitSet
_tokenSet_0
static antlr.collections.impl.BitSet
_tokenSet_1
static antlr.collections.impl.BitSet
_tokenSet_2
static antlr.collections.impl.BitSet
_tokenSet_3
-
Fields inherited from class antlr.CharScanner
_returnToken, caseSensitive, caseSensitiveLiterals, commitToPath, EOF_CHAR, hashString, inputState, literals, saveConsumedInput, tabsize, text, tokenObjectClass, traceDepth
-
Fields inherited from interface net.ontopia.topicmaps.utils.ltm.LTMParserTokenTypes
AT, BASEURI, COLON, COMMA, COMMENT, DATA, EOF, EQUALS, INCLUDE, LBRACKET, LCURLY, LPAREN, MERGEMAP, NAME, NULL_TREE_LOOKAHEAD, PERCENT, PREFIX, RBRACKET, RCURLY, RPAREN, SEMICOL, SLASH, STRING, TILDE, TOPICMAPID, VERSION, WS
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
mAT(boolean _createToken)
void
mBASEURI(boolean _createToken)
void
mCOLON(boolean _createToken)
void
mCOMMA(boolean _createToken)
void
mCOMMENT(boolean _createToken)
void
mDATA(boolean _createToken)
void
mEQUALS(boolean _createToken)
void
mINCLUDE(boolean _createToken)
void
mLBRACKET(boolean _createToken)
void
mLCURLY(boolean _createToken)
void
mLPAREN(boolean _createToken)
void
mMERGEMAP(boolean _createToken)
void
mNAME(boolean _createToken)
void
mPERCENT(boolean _createToken)
void
mPREFIX(boolean _createToken)
void
mRBRACKET(boolean _createToken)
void
mRCURLY(boolean _createToken)
void
mRPAREN(boolean _createToken)
void
mSEMICOL(boolean _createToken)
void
mSLASH(boolean _createToken)
void
mSTRING(boolean _createToken)
void
mTILDE(boolean _createToken)
void
mTOPICMAPID(boolean _createToken)
void
mVERSION(boolean _createToken)
void
mWS(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, getTabSize, getText, getTokenObject, LA, makeToken, mark, match, match, match, matchNot, matchRange, newline, panic, panic, reportError, reportError, reportWarning, resetText, rewind, setCaseSensitive, setColumn, setCommitToPath, setFilename, setInputState, setLine, setTabSize, setText, setTokenObjectClass, tab, testLiteralsTable, testLiteralsTable, toLower, traceIn, traceIndent, traceOut, uponEOF
-
-
-
-
Field Detail
-
_tokenSet_0
public static final antlr.collections.impl.BitSet _tokenSet_0
-
_tokenSet_1
public static final antlr.collections.impl.BitSet _tokenSet_1
-
_tokenSet_2
public static final antlr.collections.impl.BitSet _tokenSet_2
-
_tokenSet_3
public static final antlr.collections.impl.BitSet _tokenSet_3
-
-
Constructor Detail
-
LTMLexer
public LTMLexer(InputStream in)
-
LTMLexer
public LTMLexer(Reader in)
-
LTMLexer
public LTMLexer(antlr.InputBuffer ib)
-
LTMLexer
public LTMLexer(antlr.LexerSharedInputState state)
-
-
Method Detail
-
nextToken
public antlr.Token nextToken() throws antlr.TokenStreamException
- Specified by:
nextToken
in interfaceantlr.TokenStream
- Throws:
antlr.TokenStreamException
-
mNAME
public final void mNAME(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mCOLON
public final void mCOLON(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mWS
public final void mWS(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mSTRING
public final void mSTRING(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mCOMMENT
public final void mCOMMENT(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mDATA
public final void mDATA(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mTOPICMAPID
public final void mTOPICMAPID(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mPREFIX
public final void mPREFIX(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mMERGEMAP
public final void mMERGEMAP(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mVERSION
public final void mVERSION(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mINCLUDE
public final void mINCLUDE(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mBASEURI
public final void mBASEURI(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mLBRACKET
public final void mLBRACKET(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mRBRACKET
public final void mRBRACKET(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mPERCENT
public final void mPERCENT(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mAT
public final void mAT(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mEQUALS
public final void mEQUALS(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mTILDE
public final void mTILDE(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mSEMICOL
public final void mSEMICOL(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mLCURLY
public final void mLCURLY(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mRCURLY
public final void mRCURLY(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mCOMMA
public final void mCOMMA(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mLPAREN
public final void mLPAREN(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mRPAREN
public final void mRPAREN(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
mSLASH
public final void mSLASH(boolean _createToken) throws antlr.RecognitionException, antlr.CharStreamException, antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
-
-