|
JML | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectantlr.CharScanner
org.jmlspecs.checker.JavadocJmlLexer
| Field Summary | |
static antlr.collections.impl.BitSet |
_tokenSet_0
|
static antlr.collections.impl.BitSet |
_tokenSet_1
|
static antlr.collections.impl.BitSet |
_tokenSet_2
|
private char[] |
charCache
Used to convert token text from String to char[]. |
private String |
eol
|
private ParsingController |
parsingController
Used to switch lexers. |
private int |
tabSize
The amount by which the column number is incremented when a tab character is detected in the input stream. |
| Fields inherited from class antlr.CharScanner |
_returnToken, caseSensitive, caseSensitiveLiterals, commitToPath, EOF_CHAR, hashString, inputState, literals, saveConsumedInput, tabsize, text, tokenObjectClass, traceDepth |
| Constructor Summary | |
JavadocJmlLexer(antlr.InputBuffer ib)
|
|
JavadocJmlLexer(antlr.LexerSharedInputState state)
|
|
JavadocJmlLexer(InputStream in)
|
|
JavadocJmlLexer(Reader in)
|
|
JavadocJmlLexer(ParsingController parsingController)
|
|
| Method Summary | |
void |
mDOC_NL_WS(boolean _createToken)
|
void |
mEMBEDDED_JML_START(boolean _createToken)
|
void |
mJAVADOC_CLOSE(boolean _createToken)
|
private static long[] |
mk_tokenSet_0()
|
private static long[] |
mk_tokenSet_1()
|
private static long[] |
mk_tokenSet_2()
|
protected void |
mNEWLINE(boolean _createToken)
|
protected void |
mNON_NL_WS_OPT(boolean _createToken)
|
void |
mREST_OF_LINE(boolean _createToken)
|
void |
mSTAR(boolean _createToken)
|
antlr.Token |
nextToken()
|
void |
setTabSize(int ts)
Sets the amount by which the column number is incremented when a tab character is detected in the input stream. |
void |
tab()
Called by the scanner when a tab is detected in the input stream. |
int |
tabSize()
Indicates the amount by which the column number is incremented when a tab character is detected in the input stream. |
| 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, setText, setTokenObjectClass, 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 |
private final String eol
private int tabSize
private ParsingController parsingController
private char[] charCache
public static final antlr.collections.impl.BitSet _tokenSet_0
public static final antlr.collections.impl.BitSet _tokenSet_1
public static final antlr.collections.impl.BitSet _tokenSet_2
| Constructor Detail |
public JavadocJmlLexer(ParsingController parsingController)
public JavadocJmlLexer(InputStream in)
public JavadocJmlLexer(Reader in)
public JavadocJmlLexer(antlr.InputBuffer ib)
public JavadocJmlLexer(antlr.LexerSharedInputState state)
| Method Detail |
public void tab()
tab in class antlr.CharScannersetTabSize(int),
tabSize()public void setTabSize(int ts)
setTabSize in class antlr.CharScannertabSize()public int tabSize()
setTabSize(int)
public antlr.Token nextToken()
throws antlr.TokenStreamException
nextToken in interface antlr.TokenStreamantlr.TokenStreamException
public final void mDOC_NL_WS(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
protected final void mNEWLINE(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
protected final void mNON_NL_WS_OPT(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
public final void mREST_OF_LINE(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
public final void mSTAR(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
public final void mJAVADOC_CLOSE(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamException
public final void mEMBEDDED_JML_START(boolean _createToken)
throws antlr.RecognitionException,
antlr.CharStreamException,
antlr.TokenStreamException
antlr.RecognitionException
antlr.CharStreamException
antlr.TokenStreamExceptionprivate static final long[] mk_tokenSet_0()
private static final long[] mk_tokenSet_1()
private static final long[] mk_tokenSet_2()
|
JML | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||