|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectantlr.CharScanner
org.apache.directory.shared.ldap.subtree.AntlrSubtreeSpecificationLexer
org.apache.directory.shared.ldap.subtree.ReusableAntlrSubtreeSpecificationLexer
A reusable lexer class extended from antlr generated lexer for an LDAP subtree specification as defined by RFC 3672. This class enables the reuse of the antlr lexer without having to recreate the it every time as stated in a Antlr Interest Group mail .
Field Summary |
Fields inherited from class org.apache.directory.shared.ldap.subtree.AntlrSubtreeSpecificationLexer |
_tokenSet_0, _tokenSet_1 |
Fields inherited from class antlr.CharScanner |
_returnToken, caseSensitive, caseSensitiveLiterals, commitToPath, EOF_CHAR, hashString, inputState, literals, saveConsumedInput, tabsize, text, tokenObjectClass, traceDepth |
Fields inherited from interface org.apache.directory.shared.ldap.subtree.AntlrSubtreeSpecificationParserTokenTypes |
ALPHA, CLOSE_CURLY, COLON, DESCR, DIGIT, DOT, EOF, ID_and, ID_base, ID_chopAfter, ID_chopBefore, ID_item, ID_maximum, ID_minimum, ID_not, ID_or, ID_specificationFilter, ID_specificExclusions, INTEGER, INTEGER_OR_NUMERICOID, LDIGIT, LITERAL_end, NULL_TREE_LOOKAHEAD, NUMERICOID, OPEN_CURLY, SAFEUTF8CHAR, SAFEUTF8STRING, SEP, SP |
Constructor Summary | |
ReusableAntlrSubtreeSpecificationLexer(java.io.Reader in)
Creates a ReusableAntlrSubtreeSpecificationLexer instance. |
Method Summary | |
void |
prepareNextInput(java.io.Reader in)
Resets the state of an antlr lexer and initializes it with new input. |
Methods inherited from class org.apache.directory.shared.ldap.subtree.AntlrSubtreeSpecificationLexer |
mALPHA, mCLOSE_CURLY, mCOLON, mDESCR, mDIGIT, mDOT, mINTEGER_OR_NUMERICOID, mINTEGER, mLDIGIT, mNUMERICOID, mOPEN_CURLY, mSAFEUTF8CHAR, mSAFEUTF8STRING, mSEP, mSP, 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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ReusableAntlrSubtreeSpecificationLexer(java.io.Reader in)
in
- the input to the lexerMethod Detail |
public void prepareNextInput(java.io.Reader in)
in
- the input to the lexer
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |