Class ReusableAntlrACIItemLexer
- java.lang.Object
-
- antlr.CharScanner
-
- org.apache.directory.api.ldap.aci.AntlrACIItemLexer
-
- org.apache.directory.api.ldap.aci.ReusableAntlrACIItemLexer
-
- All Implemented Interfaces:
antlr.TokenStream,AntlrACIItemParserTokenTypes
class ReusableAntlrACIItemLexer extends AntlrACIItemLexer
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.aci.AntlrACIItemLexer
_tokenSet_0, _tokenSet_1, _tokenSet_2, _tokenSet_3, _tokenSet_4, _tokenSet_5, _tokenSet_6
-
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.api.ldap.aci.AntlrACIItemParserTokenTypes
ALPHA, ATTRIBUTE_VALUE_CANDIDATE, CLOSE_CURLY, COLON, DESCR, DIGIT, DOT, EOF, FILTER, FILTER_VALUE, HYPHEN, ID_allAttributeValues, ID_allUserAttributeTypes, ID_allUserAttributeTypesAndValues, ID_allUsers, ID_and, ID_attributeType, ID_authenticationLevel, ID_base, ID_basicLevels, ID_chopAfter, ID_chopBefore, ID_classes, ID_denyAdd, ID_denyBrowse, ID_denyCompare, ID_denyDiscloseOnError, ID_denyExport, ID_denyFilterMatch, ID_denyImport, ID_denyInvoke, ID_denyModify, ID_denyRead, ID_denyRemove, ID_denyRename, ID_denyReturnDN, ID_entry, ID_FALSE, ID_grantAdd, ID_grantBrowse, ID_grantCompare, ID_grantDiscloseOnError, ID_grantExport, ID_grantFilterMatch, ID_grantImport, ID_grantInvoke, ID_grantModify, ID_grantRead, ID_grantRemove, ID_grantRename, ID_grantReturnDN, ID_grantsAndDenials, ID_identificationTag, ID_item, ID_itemFirst, ID_itemOrUserFirst, ID_itemPermissions, ID_level, ID_localQualifier, ID_maxCount, ID_maxImmSub, ID_maximum, ID_maxValueCount, ID_minimum, ID_name, ID_none, ID_not, ID_or, ID_parentOfEntry, ID_precedence, ID_protectedItems, ID_rangeOfValues, ID_restrictedBy, ID_selfValue, ID_signed, ID_simple, ID_specificationFilter, ID_specificExclusions, ID_strong, ID_subtree, ID_thisEntry, ID_TRUE, ID_type, ID_userClasses, ID_userFirst, ID_userGroup, ID_userPermissions, ID_valuesIn, INTEGER, INTEGER_OR_NUMERICOID, LDIGIT, NULL_TREE_LOOKAHEAD, NUMERICOID, OPEN_CURLY, RANGE_OF_VALUES_CANDIDATE, SAFEUTF8CHAR, SAFEUTF8STRING, SEP, SP
-
-
Constructor Summary
Constructors Constructor Description ReusableAntlrACIItemLexer(Reader in)Creates a ReusableAntlrSubtreeSpecificationLexer instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidprepareNextInput(Reader in)Resets the state of an antlr lexer and initializes it with new input.-
Methods inherited from class org.apache.directory.api.ldap.aci.AntlrACIItemLexer
mALPHA, mCLOSE_CURLY, mCOLON, mDESCR, mDIGIT, mDOT, mFILTER, mFILTER_VALUE, mHYPHEN, mINTEGER, mINTEGER_OR_NUMERICOID, 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
-
-
-
-
Constructor Detail
-
ReusableAntlrACIItemLexer
ReusableAntlrACIItemLexer(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
-
-