View Javadoc
1   // $ANTLR 2.7.7 (20060906): "schema.g" -> "AntlrSchemaParser.java"$
2   
3   /*
4    *  Licensed to the Apache Software Foundation (ASF) under one
5    *  or more contributor license agreements.  See the NOTICE file
6    *  distributed with this work for additional information
7    *  regarding copyright ownership.  The ASF licenses this file
8    *  to you under the Apache License, Version 2.0 (the
9    *  "License"); you may not use this file except in compliance
10   *  with the License.  You may obtain a copy of the License at
11   *  
12   *    http://www.apache.org/licenses/LICENSE-2.0
13   *  
14   *  Unless required by applicable law or agreed to in writing,
15   *  software distributed under the License is distributed on an
16   *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17   *  KIND, either express or implied.  See the License for the
18   *  specific language governing permissions and limitations
19   *  under the License. 
20   *  
21   */
22  package org.apache.directory.api.ldap.model.schema.syntaxes;
23  
24  import java.io.StringReader;
25  import java.util.ArrayList;
26  import java.util.HashMap;
27  import java.util.List;
28  import java.util.Map;
29  
30  import org.apache.directory.api.ldap.model.schema.parsers.LdapComparatorDescription;
31  import org.apache.directory.api.ldap.model.schema.DitContentRule;
32  import org.apache.directory.api.ldap.model.schema.DitStructureRule;
33  import org.apache.directory.api.ldap.model.schema.LdapSyntax;
34  import org.apache.directory.api.ldap.model.schema.MatchingRule;
35  import org.apache.directory.api.ldap.model.schema.MutableMatchingRule;
36  import org.apache.directory.api.ldap.model.schema.MatchingRuleUse;
37  import org.apache.directory.api.ldap.model.schema.NameForm;
38  import org.apache.directory.api.ldap.model.schema.parsers.NormalizerDescription;
39  import org.apache.directory.api.ldap.model.schema.parsers.ParserMonitor;
40  import org.apache.directory.api.ldap.model.schema.AttributeType;
41  import org.apache.directory.api.ldap.model.schema.MutableAttributeType;
42  import org.apache.directory.api.ldap.model.schema.ObjectClass;
43  import org.apache.directory.api.ldap.model.schema.MutableObjectClass;
44  import org.apache.directory.api.ldap.model.schema.parsers.SyntaxCheckerDescription;
45  import org.apache.directory.api.ldap.model.schema.syntaxCheckers.OpenLdapObjectIdentifierMacro;
46  import org.apache.directory.api.ldap.model.schema.ObjectClassTypeEnum;
47  import org.apache.directory.api.ldap.model.schema.UsageEnum;
48  
49  
50  public interface AntlrSchemaTokenTypes {
51  	int EOF = 1;
52  	int NULL_TREE_LOOKAHEAD = 3;
53  	int WHSP = 4;
54  	int LPAR = 5;
55  	int RPAR = 6;
56  	int QUOTE = 7;
57  	int DOLLAR = 8;
58  	int LBRACKET = 9;
59  	int RBRACKET = 10;
60  	int LEN = 11;
61  	int SINGLE_VALUE = 12;
62  	int COLLECTIVE = 13;
63  	int NO_USER_MODIFICATION = 14;
64  	int OBSOLETE = 15;
65  	int ABSTRACT = 16;
66  	int STRUCTURAL = 17;
67  	int AUXILIARY = 18;
68  	int OBJECTIDENTIFIER = 19;
69  	int OBJECTCLASS = 20;
70  	int ATTRIBUTETYPE = 21;
71  	int STARTNUMERICOID = 22;
72  	int NAME = 23;
73  	int DESC = 24;
74  	int SUP = 25;
75  	int MUST = 26;
76  	int MAY = 27;
77  	int AUX = 28;
78  	int NOT = 29;
79  	int FORM = 30;
80  	int OC = 31;
81  	int EQUALITY = 32;
82  	int ORDERING = 33;
83  	int SUBSTR = 34;
84  	int SYNTAX = 35;
85  	int APPLIES = 36;
86  	int EXTENSION = 37;
87  	int FQCN = 38;
88  	int BYTECODE = 39;
89  	int AUX_OR_AUXILIARY = 40;
90  	int VALUES = 41;
91  	int VALUE = 42;
92  	int UNQUOTED_STRING = 43;
93  	int QUOTED_STRING = 44;
94  	int FQCN_VALUE = 45;
95  	int FQCN_IDENTIFIER = 46;
96  	int FQCN_LETTER = 47;
97  	int FQCN_LETTERORDIGIT = 48;
98  	int BYTECODE_VALUE = 49;
99  	int USAGE = 50;
100 	int USER_APPLICATIONS = 51;
101 	int DIRECTORY_OPERATION = 52;
102 	int DISTRIBUTED_OPERATION = 53;
103 	int DSA_OPERATION = 54;
104 }