Class ReusableAntlrTriggerSpecificationParser
- java.lang.Object
-
- antlr.Parser
-
- antlr.LLkParser
-
- org.apache.directory.api.ldap.trigger.AntlrTriggerSpecificationParser
-
- org.apache.directory.api.ldap.trigger.ReusableAntlrTriggerSpecificationParser
-
- All Implemented Interfaces:
AntlrTriggerSpecificationParserTokenTypes
class ReusableAntlrTriggerSpecificationParser extends AntlrTriggerSpecificationParser
A reusable lexer class extended from antlr generated parser for an LDAP Trigger Specification as defined at The ABNF grammar for LDAP Triggers.This class enables the reuse of the antlr lexer without having to recreate the it every time as stated in an ANTLR Interest Group mail .
- Author:
- Apache Directory Project
-
-
Field Summary
-
Fields inherited from class org.apache.directory.api.ldap.trigger.AntlrTriggerSpecificationParser
_tokenNames
-
Fields inherited from class antlr.Parser
astFactory, inputState, returnAST, tokenNames, tokenTypeToASTClassMap, traceDepth
-
Fields inherited from interface org.apache.directory.api.ldap.trigger.AntlrTriggerSpecificationParserTokenTypes
ALPHA, CLOSE_CURLY, CLOSE_PARAN, COMMENT, DOT, EOF, ID_add, ID_AFTER, ID_attributes, ID_CALL, ID_delete, ID_deletedEntry, ID_deleteoldrdn, ID_entry, ID_languageScheme, ID_ldapContext, ID_modification, ID_modify, ID_modifyDN, ID_modifyDNExport, ID_modifyDNImport, ID_modifyDNRename, ID_name, ID_newDN, ID_newEntry, ID_newrdn, ID_newSuperior, ID_object, ID_oldEntry, ID_oldRDN, ID_oldSuperiorDN, ID_operationPrincipal, ID_scope_base, ID_scope_one, ID_scope_subtree, ID_search_scope, ID_searchContext, IDENTIFIER, NULL_TREE_LOOKAHEAD, OPEN_CURLY, OPEN_PARAN, SAFEUTF8CHAR, SEMI, SEP, SP, UTF8String
-
-
Constructor Summary
Constructors Constructor Description ReusableAntlrTriggerSpecificationParser(antlr.TokenStream lexer)Creates a ReusableAntlrTriggerSpecificationParser 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.trigger.AntlrTriggerSpecificationParser
actionTime, addOperationAndStoredProcedureCalls, addStoredProcedureParameter, addStoredProcedureParameterList, deleteOperationAndStoredProcedureCalls, deleteStoredProcedureParameter, deleteStoredProcedureParameterList, distinguishedName, fullyQualifiedStoredProcedureName, genericStoredProcedureOption, genericStoredProcedureOptionList, genericStoredProcedureParameter, init, ldapContextStoredProcedureParameter, ldapOperationAndStoredProcedureCalls, modifyDNOperationAndStoredProcedureCalls, modifyDNStoredProcedureParameter, modifyDNStoredProcedureParameterList, modifyOperationAndStoredProcedureCalls, modifyStoredProcedureParameter, modifyStoredProcedureParameterList, setNormalizerMappingResolver, storedProcedureLanguageSchemeOption, storedProcedureSearchContext, storedProcedureSearchContextOption, storedProcedureSearchScope, theCompositeRuleForCallAndSPNameAndSPOptionList, triggerSpecification, 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
-
-