Class ReusableAntlrSubtreeSpecificationParser
- java.lang.Object
-
- antlr.Parser
-
- antlr.LLkParser
-
- org.apache.directory.api.ldap.model.subtree.AntlrSubtreeSpecificationParser
-
- org.apache.directory.api.ldap.model.subtree.ReusableAntlrSubtreeSpecificationParser
-
- All Implemented Interfaces:
AntlrSubtreeSpecificationParserTokenTypes
class ReusableAntlrSubtreeSpecificationParser extends AntlrSubtreeSpecificationParser
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.AntlrSubtreeSpecificationParser
_tokenNames, OBJECT_CLASS_AT
-
Fields inherited from class antlr.Parser
astFactory, inputState, returnAST, tokenNames, tokenTypeToASTClassMap, traceDepth
-
Fields inherited from interface org.apache.directory.api.ldap.model.subtree.AntlrSubtreeSpecificationParserTokenTypes
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 ReusableAntlrSubtreeSpecificationParser(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.AntlrSubtreeSpecificationParser
and, baseDistance, chopAfter, chopBefore, distinguishedName, filter, init, isNormalizing, item, not, oid, or, refinement, refinements, setNormalizerMappingResolver, 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
-
-