org.apache.directory.shared.ldap.aci
Class AntlrACIItemParser

java.lang.Object
  extended byantlr.Parser
      extended byantlr.LLkParser
          extended byorg.apache.directory.shared.ldap.aci.AntlrACIItemParser
All Implemented Interfaces:
AntlrACIItemParserTokenTypes

public class AntlrACIItemParser
extends antlr.LLkParser
implements AntlrACIItemParserTokenTypes

The antlr generated ACIItem parser.

Version:
$Rev$
Author:
Apache Directory Project

Field Summary
static java.lang.String[] _tokenNames
           
 
Fields inherited from class antlr.Parser
astFactory, inputState, returnAST, tokenNames, tokenTypeToASTClassMap, traceDepth
 
Fields inherited from interface org.apache.directory.shared.ldap.aci.AntlrACIItemParserTokenTypes
ALPHA, ATTRIBUTE_VALUE_CANDIDATE, CLOSE_CURLY, COLON, DESCR, DIGIT, DOT, EOF, 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_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
  AntlrACIItemParser(antlr.ParserSharedInputState state)
           
  AntlrACIItemParser(antlr.TokenBuffer tokenBuf)
           
protected AntlrACIItemParser(antlr.TokenBuffer tokenBuf, int k)
           
  AntlrACIItemParser(antlr.TokenStream lexer)
           
protected AntlrACIItemParser(antlr.TokenStream lexer, int k)
           
 
Method Summary
 void aci_authenticationLevel()
           
 void aci_identificationTag()
           
 void aci_itemOrUserFirst()
           
 void aci_precedence()
           
 void allAttributeValues()
           
 void allUserAttributeTypes()
           
 void allUserAttributeTypesAndValues()
           
 void allUsers()
           
 ProtectedItem.MaxValueCountItem aMaxValueCount()
           
 BranchNode and()
           
 void anyItemPermission()
           
 void anyUserPermission()
           
 void attributeType()
           
 java.util.Set attributeTypeSet()
           
 void attributeValue()
           
 void authenticationLevel()
           
 int baseDistance()
           
 void chopAfter()
           
 void chopBefore()
           
 void classes()
           
 javax.naming.Name distinguishedName()
           
 void entry()
           
 GrantAndDenial grantAndDenial()
           
 void grantsAndDenials()
           
 void init()
          Creates a (normalizing) subordinate DnParser for parsing Names.
 LeafNode item()
           
 void itemFirst()
           
 void itemOrUserFirst()
           
 ItemPermission itemPermission()
           
 void itemPermissions()
           
 void mainACIItemComponent()
           
 void maxImmSub()
           
 void maxValueCount()
           
 void name()
           
 BranchNode not()
           
 java.lang.String oid()
           
 BranchNode or()
           
 void precedence()
           
 void protectedItem()
           
 void protectedItems()
           
 void rangeOfValues()
           
 ExprNode refinement()
           
 java.util.ArrayList refinements()
           
 void restrictedBy()
           
 ProtectedItem.RestrictedByItem restrictedValue()
           
 void selfValue()
           
 void setNormalizer(NameComponentNormalizer normalizer)
          Sets the NameComponentNormalizer for this parser's dnParser.
 void specificExclusion()
           
 void specificExclusions()
           
 void ss_base()
           
 void ss_maximum()
           
 void ss_minimum()
           
 void ss_specificExclusions()
           
 void subtree()
           
 SubtreeSpecification subtreeSpecification()
           
 void subtreeSpecificationComponent()
           
 ACIItem theACIItem()
           
 void thisEntry()
           
 void userClass()
           
 void userClasses()
           
 void userFirst()
           
 void userGroup()
           
 UserPermission userPermission()
           
 void userPermissions()
           
 ACIItem wrapperEntryPoint()
           
 
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
 

Field Detail

_tokenNames

public static final java.lang.String[] _tokenNames
Constructor Detail

AntlrACIItemParser

protected AntlrACIItemParser(antlr.TokenBuffer tokenBuf,
                             int k)

AntlrACIItemParser

public AntlrACIItemParser(antlr.TokenBuffer tokenBuf)

AntlrACIItemParser

protected AntlrACIItemParser(antlr.TokenStream lexer,
                             int k)

AntlrACIItemParser

public AntlrACIItemParser(antlr.TokenStream lexer)

AntlrACIItemParser

public AntlrACIItemParser(antlr.ParserSharedInputState state)
Method Detail

init

public void init()
Creates a (normalizing) subordinate DnParser for parsing Names. 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 Names

setNormalizer

public void setNormalizer(NameComponentNormalizer normalizer)
Sets the NameComponentNormalizer for this parser's dnParser.


wrapperEntryPoint

public final ACIItem wrapperEntryPoint()
                                throws antlr.RecognitionException,
                                       antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

theACIItem

public final ACIItem theACIItem()
                         throws antlr.RecognitionException,
                                antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

mainACIItemComponent

public final void mainACIItemComponent()
                                throws antlr.RecognitionException,
                                       antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

aci_identificationTag

public final void aci_identificationTag()
                                 throws antlr.RecognitionException,
                                        antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

aci_precedence

public final void aci_precedence()
                          throws antlr.RecognitionException,
                                 antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

aci_authenticationLevel

public final void aci_authenticationLevel()
                                   throws antlr.RecognitionException,
                                          antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

aci_itemOrUserFirst

public final void aci_itemOrUserFirst()
                               throws antlr.RecognitionException,
                                      antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

precedence

public final void precedence()
                      throws antlr.RecognitionException,
                             antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

authenticationLevel

public final void authenticationLevel()
                               throws antlr.RecognitionException,
                                      antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

itemOrUserFirst

public final void itemOrUserFirst()
                           throws antlr.RecognitionException,
                                  antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

itemFirst

public final void itemFirst()
                     throws antlr.RecognitionException,
                            antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

userFirst

public final void userFirst()
                     throws antlr.RecognitionException,
                            antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

protectedItems

public final void protectedItems()
                          throws antlr.RecognitionException,
                                 antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

itemPermissions

public final void itemPermissions()
                           throws antlr.RecognitionException,
                                  antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

userClasses

public final void userClasses()
                       throws antlr.RecognitionException,
                              antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

userPermissions

public final void userPermissions()
                           throws antlr.RecognitionException,
                                  antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

protectedItem

public final void protectedItem()
                         throws antlr.RecognitionException,
                                antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

entry

public final void entry()
                 throws antlr.RecognitionException,
                        antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

allUserAttributeTypes

public final void allUserAttributeTypes()
                                 throws antlr.RecognitionException,
                                        antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

attributeType

public final void attributeType()
                         throws antlr.RecognitionException,
                                antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

allAttributeValues

public final void allAttributeValues()
                              throws antlr.RecognitionException,
                                     antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

allUserAttributeTypesAndValues

public final void allUserAttributeTypesAndValues()
                                          throws antlr.RecognitionException,
                                                 antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

attributeValue

public final void attributeValue()
                          throws antlr.RecognitionException,
                                 antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

selfValue

public final void selfValue()
                     throws antlr.RecognitionException,
                            antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

rangeOfValues

public final void rangeOfValues()
                         throws antlr.RecognitionException,
                                antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

maxValueCount

public final void maxValueCount()
                         throws antlr.RecognitionException,
                                antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

maxImmSub

public final void maxImmSub()
                     throws antlr.RecognitionException,
                            antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

restrictedBy

public final void restrictedBy()
                        throws antlr.RecognitionException,
                               antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

classes

public final void classes()
                   throws antlr.RecognitionException,
                          antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

attributeTypeSet

public final java.util.Set attributeTypeSet()
                                     throws antlr.RecognitionException,
                                            antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

aMaxValueCount

public final ProtectedItem.MaxValueCountItem aMaxValueCount()
                                                     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

restrictedValue

public final ProtectedItem.RestrictedByItem restrictedValue()
                                                     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

itemPermission

public final ItemPermission itemPermission()
                                    throws antlr.RecognitionException,
                                           antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

anyItemPermission

public final void anyItemPermission()
                             throws antlr.RecognitionException,
                                    antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

grantsAndDenials

public final void grantsAndDenials()
                            throws antlr.RecognitionException,
                                   antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

grantAndDenial

public final GrantAndDenial grantAndDenial()
                                    throws antlr.RecognitionException,
                                           antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

userClass

public final void userClass()
                     throws antlr.RecognitionException,
                            antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

allUsers

public final void allUsers()
                    throws antlr.RecognitionException,
                           antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

thisEntry

public final void thisEntry()
                     throws antlr.RecognitionException,
                            antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

name

public final void name()
                throws antlr.RecognitionException,
                       antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

userGroup

public final void userGroup()
                     throws antlr.RecognitionException,
                            antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

subtree

public final void subtree()
                   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

subtreeSpecification

public final SubtreeSpecification subtreeSpecification()
                                                throws antlr.RecognitionException,
                                                       antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

userPermission

public final UserPermission userPermission()
                                    throws antlr.RecognitionException,
                                           antlr.TokenStreamException
Throws:
antlr.RecognitionException
antlr.TokenStreamException

anyUserPermission

public final void anyUserPermission()
                             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

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

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.