001// $ANTLR 2.7.7 (20060906): "distinguishedName.g" -> "AntlrDnParser.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 * https://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 */ 022package org.apache.directory.api.ldap.model.name; 023 024import java.io.StringReader; 025import java.util.ArrayList; 026import java.util.HashMap; 027import java.util.List; 028import java.util.Map; 029 030import org.apache.directory.api.ldap.model.exception.LdapInvalidDnException; 031import javax.naming.NameParser; 032import org.apache.directory.api.ldap.model.entry.Value; 033import org.apache.directory.api.ldap.model.schema.SchemaManager; 034import org.apache.directory.api.ldap.model.schema.AttributeType; 035import org.apache.directory.api.util.ExpansibleByteBuffer; 036import org.apache.directory.api.util.Strings; 037import org.apache.directory.api.util.Unicode; 038 039public interface AntlrDnTokenTypes { 040 int EOF = 1; 041 int NULL_TREE_LOOKAHEAD = 3; 042 int COMMA = 4; 043 int EQUALS = 5; 044 int PLUS = 6; 045 int HYPHEN = 7; 046 int UNDERSCORE = 8; 047 int DQUOTE = 9; 048 int SEMI = 10; 049 int LANGLE = 11; 050 int RANGLE = 12; 051 int SPACE = 13; 052 int NUMERICOID_OR_ALPHA_OR_DIGIT = 14; 053 int NUMERICOID = 15; 054 int DOT = 16; 055 int NUMBER = 17; 056 int LDIGIT = 18; 057 int DIGIT = 19; 058 int ALPHA = 20; 059 int HEXPAIR_OR_ESCESC_ESCSHARP_OR_ESC = 21; 060 int HEXPAIR = 22; 061 int ESC = 23; 062 int ESCESC = 24; 063 int ESCSHARP = 25; 064 int HEX = 26; 065 int HEXVALUE_OR_SHARP = 27; 066 int HEXVALUE = 28; 067 int SHARP = 29; 068 int UTFMB = 30; 069 int CHAR_REST = 31; 070}