Class ReusableAntlrSubtreeSpecificationCheckerLexer
- java.lang.Object
-
- antlr.CharScanner
-
- org.apache.directory.api.ldap.model.subtree.AntlrSubtreeSpecificationCheckerLexer
-
- org.apache.directory.api.ldap.model.subtree.ReusableAntlrSubtreeSpecificationCheckerLexer
-
- All Implemented Interfaces:
antlr.TokenStream
,AntlrSubtreeSpecificationCheckerTokenTypes
public class ReusableAntlrSubtreeSpecificationCheckerLexer extends AntlrSubtreeSpecificationCheckerLexer
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 .- Author:
- Apache Directory Project
- See Also:
- RFC 3672
-
-
Field Summary
-
Fields inherited from class org.apache.directory.api.ldap.model.subtree.AntlrSubtreeSpecificationCheckerLexer
_tokenSet_0, _tokenSet_1, _tokenSet_2, _tokenSet_3
-
Fields inherited from interface org.apache.directory.api.ldap.model.subtree.AntlrSubtreeSpecificationCheckerTokenTypes
ALPHA, CLOSE_CURLY, COLON, DESCR, DIGIT, DOT, EOF, FILTER, FILTER_VALUE, 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
Constructors Constructor Description ReusableAntlrSubtreeSpecificationCheckerLexer(Reader in)
Creates a ReusableAntlrSubtreeSpecificationLexer instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
prepareNextInput(Reader in)
Resets the state of an antlr lexer and initializes it with new input.-
Methods inherited from class org.apache.directory.api.ldap.model.subtree.AntlrSubtreeSpecificationCheckerLexer
mCLOSE_CURLY, mCOLON, mDESCR, mFILTER, mINTEGER_OR_NUMERICOID, mOPEN_CURLY, 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, 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
-
-
-
-
Constructor Detail
-
ReusableAntlrSubtreeSpecificationCheckerLexer
public ReusableAntlrSubtreeSpecificationCheckerLexer(Reader in)
Creates a ReusableAntlrSubtreeSpecificationLexer instance.- Parameters:
in
- the input to the lexer
-
-
Method Detail
-
prepareNextInput
public void prepareNextInput(Reader in)
Resets the state of an antlr lexer and initializes it with new input.- Parameters:
in
- the input to the lexer
-
-