View Javadoc
1   // $ANTLR 2.7.7 (20060906): "distinguishedName.g" -> "AntlrDnParser.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   *    https://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.name;
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.exception.LdapInvalidDnException;
31  import org.apache.directory.api.ldap.model.exception.LdapInvalidAttributeValueException;
32  import javax.naming.NameParser;
33  import org.apache.directory.api.ldap.model.entry.Value;
34  import org.apache.directory.api.ldap.model.schema.SchemaManager;
35  import org.apache.directory.api.ldap.model.schema.AttributeType;
36  import org.apache.directory.api.util.ExpansibleByteBuffer;
37  import org.apache.directory.api.util.Strings;
38  import org.apache.directory.api.util.Unicode;
39  
40  public interface AntlrDnTokenTypes {
41  	int EOF = 1;
42  	int NULL_TREE_LOOKAHEAD = 3;
43  	int COMMA = 4;
44  	int EQUALS = 5;
45  	int PLUS = 6;
46  	int HYPHEN = 7;
47  	int UNDERSCORE = 8;
48  	int DQUOTE = 9;
49  	int SEMI = 10;
50  	int LANGLE = 11;
51  	int RANGLE = 12;
52  	int SPACE = 13;
53  	int NUMERICOID_OR_ALPHA_OR_DIGIT = 14;
54  	int NUMERICOID = 15;
55  	int DOT = 16;
56  	int NUMBER = 17;
57  	int LDIGIT = 18;
58  	int DIGIT = 19;
59  	int ALPHA = 20;
60  	int HEXPAIR_OR_ESCESC_ESCSHARP_OR_ESC = 21;
61  	int HEXPAIR = 22;
62  	int ESC = 23;
63  	int ESCESC = 24;
64  	int ESCSHARP = 25;
65  	int HEX = 26;
66  	int HEXVALUE_OR_SHARP = 27;
67  	int HEXVALUE = 28;
68  	int SHARP = 29;
69  	int UTFMB = 30;
70  	int CHAR_REST = 31;
71  }