|
JML | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectantlr.CharScanner
org.multijava.mjc.JavadocLexer
| Field Summary | |
static antlr.collections.impl.BitSet |
_tokenSet_0
|
private char[] |
charCache
Used to convert token text from String to char[]. |
private static 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 | |
JavadocLexer(antlr.InputBuffer ib)
|
|
JavadocLexer(antlr.LexerSharedInputState state)
|
|
JavadocLexer(InputStream in)
|
|
JavadocLexer(Reader in)
|
|
JavadocLexer(ParsingController parsingController)
|
|
| Method Summary | |
void |
mDOC_NL_WS(boolean _createToken)
|
void |
mJAVADOC_CLOSE(boolean _createToken)
|
private static long[] |
mk_tokenSet_0()
|
protected void |
mNEWLINE(boolean _createToken)
|
protected void |
mNON_NL_WS(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 static String eol
private int tabSize
private ParsingController parsingController
private char[] charCache
public static final antlr.collections.impl.BitSet _tokenSet_0
| Constructor Detail |
public JavadocLexer(ParsingController parsingController)
public JavadocLexer(InputStream in)
public JavadocLexer(Reader in)
public JavadocLexer(antlr.InputBuffer ib)
public JavadocLexer(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(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.TokenStreamExceptionprivate static final long[] mk_tokenSet_0()
|
JML | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||