001 // $ANTLR 2.7.4: "schema.g" -> "AntlrSchemaParser.java"$
002
003 /*
004 * Licensed to the Apache Software Foundation (ASF) under one
005 * or more contributor license agreements. See the NOTICE file
006 * distributed with this work for additional information
007 * regarding copyright ownership. The ASF licenses this file
008 * to you under the Apache License, Version 2.0 (the
009 * "License"); you may not use this file except in compliance
010 * with the License. You may obtain a copy of the License at
011 *
012 * http://www.apache.org/licenses/LICENSE-2.0
013 *
014 * Unless required by applicable law or agreed to in writing,
015 * software distributed under the License is distributed on an
016 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
017 * KIND, either express or implied. See the License for the
018 * specific language governing permissions and limitations
019 * under the License.
020 *
021 */
022 package org.apache.directory.shared.ldap.schema.syntax;
023
024 import java.io.StringReader;
025 import java.util.ArrayList;
026 import java.util.HashMap;
027 import java.util.List;
028 import java.util.Map;
029
030 import org.apache.directory.shared.ldap.schema.parsers.ComparatorDescription;
031 import org.apache.directory.shared.ldap.schema.parsers.DITContentRuleDescription;
032 import org.apache.directory.shared.ldap.schema.parsers.DITStructureRuleDescription;
033 import org.apache.directory.shared.ldap.schema.parsers.LdapSyntaxDescription;
034 import org.apache.directory.shared.ldap.schema.parsers.MatchingRuleDescription;
035 import org.apache.directory.shared.ldap.schema.parsers.MatchingRuleUseDescription;
036 import org.apache.directory.shared.ldap.schema.parsers.NameFormDescription;
037 import org.apache.directory.shared.ldap.schema.parsers.NormalizerDescription;
038 import org.apache.directory.shared.ldap.schema.parsers.ParserMonitor;
039 import org.apache.directory.shared.ldap.schema.parsers.AttributeTypeDescription;
040 import org.apache.directory.shared.ldap.schema.parsers.ObjectClassDescription;
041 import org.apache.directory.shared.ldap.schema.parsers.SyntaxCheckerDescription;
042 import org.apache.directory.shared.ldap.schema.syntaxes.OpenLdapObjectIdentifierMacro;
043 import org.apache.directory.shared.ldap.schema.ObjectClassTypeEnum;
044 import org.apache.directory.shared.ldap.schema.UsageEnum;
045
046
047 public interface AntlrSchemaTokenTypes {
048 int EOF = 1;
049 int NULL_TREE_LOOKAHEAD = 3;
050 int WHSP = 4;
051 int LPAR = 5;
052 int RPAR = 6;
053 int QUOTE = 7;
054 int DOLLAR = 8;
055 int LBRACKET = 9;
056 int RBRACKET = 10;
057 int LEN = 11;
058 int SINGLE_VALUE = 12;
059 int COLLECTIVE = 13;
060 int NO_USER_MODIFICATION = 14;
061 int OBSOLETE = 15;
062 int ABSTRACT = 16;
063 int STRUCTURAL = 17;
064 int AUXILIARY = 18;
065 int OBJECTIDENTIFIER = 19;
066 int OBJECTCLASS = 20;
067 int ATTRIBUTETYPE = 21;
068 int STARTNUMERICOID = 22;
069 int NAME = 23;
070 int DESC = 24;
071 int SUP = 25;
072 int MUST = 26;
073 int MAY = 27;
074 int AUX = 28;
075 int NOT = 29;
076 int FORM = 30;
077 int OC = 31;
078 int EQUALITY = 32;
079 int ORDERING = 33;
080 int SUBSTR = 34;
081 int SYNTAX = 35;
082 int APPLIES = 36;
083 int EXTENSION = 37;
084 int FQCN = 38;
085 int BYTECODE = 39;
086 int AUX_OR_AUXILIARY = 40;
087 int VALUES = 41;
088 int VALUE = 42;
089 int UNQUOTED_STRING = 43;
090 int QUOTED_STRING = 44;
091 int FQCN_VALUE = 45;
092 int FQCN_IDENTIFIER = 46;
093 int FQCN_LETTER = 47;
094 int FQCN_LETTERORDIGIT = 48;
095 int BYTECODE_VALUE = 49;
096 int USAGE = 50;
097 int USER_APPLICATIONS = 51;
098 int DIRECTORY_OPERATION = 52;
099 int DISTRIBUTED_OPERATION = 53;
100 int DSA_OPERATION = 54;
101 }