org.apache.directory.shared.ldap.subtree
Class AntlrSubtreeSpecificationParser
java.lang.Object
antlr.Parser
antlr.LLkParser
org.apache.directory.shared.ldap.subtree.AntlrSubtreeSpecificationParser
- All Implemented Interfaces:
- AntlrSubtreeSpecificationParserTokenTypes
- public class AntlrSubtreeSpecificationParser
- extends antlr.LLkParser
- implements AntlrSubtreeSpecificationParserTokenTypes
The antlr generated subtree specification parser.
- Version:
- $Rev$
- Author:
- Apache Directory Project
- See Also:
- RFC 3672
Fields inherited from class antlr.Parser |
astFactory, inputState, returnAST, tokenNames, tokenTypeToASTClassMap, traceDepth |
Fields inherited from interface org.apache.directory.shared.ldap.subtree.AntlrSubtreeSpecificationParserTokenTypes |
ALPHA, CLOSE_CURLY, COLON, DESCR, DIGIT, DOT, EOF, 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 |
Methods inherited from class antlr.LLkParser |
consume, LA, LT, traceIn, traceOut |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_tokenNames
public static final java.lang.String[] _tokenNames
AntlrSubtreeSpecificationParser
protected AntlrSubtreeSpecificationParser(antlr.TokenBuffer tokenBuf,
int k)
AntlrSubtreeSpecificationParser
public AntlrSubtreeSpecificationParser(antlr.TokenBuffer tokenBuf)
AntlrSubtreeSpecificationParser
protected AntlrSubtreeSpecificationParser(antlr.TokenStream lexer,
int k)
AntlrSubtreeSpecificationParser
public AntlrSubtreeSpecificationParser(antlr.TokenStream lexer)
AntlrSubtreeSpecificationParser
public AntlrSubtreeSpecificationParser(antlr.ParserSharedInputState state)
init
public void init()
- Creates a (normalizing) subordinate DnParser for parsing LocalNames.
This method MUST be called for each instance while we cannot do
constructor overloading for this class.
- Returns:
- the DnParser to be used for parsing LocalNames
setNormalizer
public void setNormalizer(NameComponentNormalizer normalizer)
- Sets the NameComponentNormalizer for this parser's dnParser.
wrapperEntryPoint
public final SubtreeSpecification wrapperEntryPoint()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
subtreeSpecification
public final SubtreeSpecification subtreeSpecification()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
subtreeSpecificationComponent
public final void subtreeSpecificationComponent()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
ss_base
public final void ss_base()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
ss_specificExclusions
public final void ss_specificExclusions()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
ss_minimum
public final void ss_minimum()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
ss_maximum
public final void ss_maximum()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
ss_specificationFilter
public final void ss_specificationFilter()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
distinguishedName
public final javax.naming.Name distinguishedName()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
specificExclusions
public final void specificExclusions()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
specificExclusion
public final void specificExclusion()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
chopBefore
public final void chopBefore()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
chopAfter
public final void chopAfter()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
baseDistance
public final int baseDistance()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
refinement
public final ExprNode refinement()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
oid
public final java.lang.String oid()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
item
public final LeafNode item()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
and
public final BranchNode and()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
or
public final BranchNode or()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
not
public final BranchNode not()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
refinements
public final java.util.ArrayList refinements()
throws antlr.RecognitionException,
antlr.TokenStreamException
- Throws:
antlr.RecognitionException
antlr.TokenStreamException
Copyright © 2003-2006 . All Rights Reserved.