Class ReusableAntlrSubtreeSpecificationChecker
- java.lang.Object
-
- antlr.Parser
-
- antlr.LLkParser
-
- org.apache.directory.api.ldap.model.subtree.AntlrSubtreeSpecificationChecker
-
- org.apache.directory.api.ldap.model.subtree.ReusableAntlrSubtreeSpecificationChecker
-
- All Implemented Interfaces:
AntlrSubtreeSpecificationCheckerTokenTypes
class ReusableAntlrSubtreeSpecificationChecker extends AntlrSubtreeSpecificationChecker
A reusable parser class extended from antlr generated parser for an LDAP subtree specification as defined by RFC 3672. This class enables the reuse of the antlr parser 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.AntlrSubtreeSpecificationChecker
_tokenNames
-
Fields inherited from class antlr.Parser
astFactory, inputState, returnAST, tokenNames, tokenTypeToASTClassMap, traceDepth
-
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 ReusableAntlrSubtreeSpecificationChecker(antlr.TokenStream lexer)Creates a ReusableAntlrSubtreeSpecificationParser instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidresetState()Resets the state of an antlr parser.-
Methods inherited from class org.apache.directory.api.ldap.model.subtree.AntlrSubtreeSpecificationChecker
and, baseDistance, chopAfter, chopBefore, distinguishedName, filter, init, item, not, oid, or, refinement, refinements, specificExclusion, specificExclusions, ss_base, ss_maximum, ss_minimum, ss_specificationFilter, ss_specificExclusions, subtreeSpecification, subtreeSpecificationComponent, wrapperEntryPoint
-
Methods inherited from class antlr.Parser
addMessageListener, addParserListener, addParserMatchListener, addParserTokenListener, addSemanticPredicateListener, addSyntacticPredicateListener, addTraceListener, consumeUntil, consumeUntil, defaultDebuggingSetup, getAST, getASTFactory, getFilename, getInputState, getTokenName, getTokenNames, getTokenTypeToASTClassMap, isDebugMode, mark, match, match, matchNot, panic, recover, removeMessageListener, removeParserListener, removeParserMatchListener, removeParserTokenListener, removeSemanticPredicateListener, removeSyntacticPredicateListener, removeTraceListener, reportError, reportError, reportWarning, rewind, setASTFactory, setASTNodeClass, setASTNodeType, setDebugMode, setFilename, setIgnoreInvalidDebugCalls, setInputState, setTokenBuffer, traceIndent
-
-