001    /* Generated By:JJTree&JavaCC: Do not edit this line. AddressListParserConstants.java */
002    /****************************************************************
003     * Licensed to the Apache Software Foundation (ASF) under one   *
004     * or more contributor license agreements.  See the NOTICE file *
005     * distributed with this work for additional information        *
006     * regarding copyright ownership.  The ASF licenses this file   *
007     * to you under the Apache License, Version 2.0 (the            *
008     * "License"); you may not use this file except in compliance   *
009     * with the License.  You may obtain a copy of the License at   *
010     *                                                              *
011     *   http://www.apache.org/licenses/LICENSE-2.0                 *
012     *                                                              *
013     * Unless required by applicable law or agreed to in writing,   *
014     * software distributed under the License is distributed on an  *
015     * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *
016     * KIND, either express or implied.  See the License for the    *
017     * specific language governing permissions and limitations      *
018     * under the License.                                           *
019     ****************************************************************/
020    package org.apache.james.mime4j.field.address;
021    
022    
023    /**
024     * Token literal values and constants.
025     * Generated by org.javacc.parser.OtherFilesGen#start()
026     */
027    public interface AddressListParserConstants {
028    
029      /** End of File. */
030      int EOF = 0;
031      /** RegularExpression Id. */
032      int WS = 10;
033      /** RegularExpression Id. */
034      int ALPHA = 11;
035      /** RegularExpression Id. */
036      int DIGIT = 12;
037      /** RegularExpression Id. */
038      int ATEXT = 13;
039      /** RegularExpression Id. */
040      int DOTATOM = 14;
041      /** RegularExpression Id. */
042      int DOMAINLITERAL = 18;
043      /** RegularExpression Id. */
044      int COMMENT = 20;
045      /** RegularExpression Id. */
046      int QUOTEDSTRING = 31;
047      /** RegularExpression Id. */
048      int QUOTEDPAIR = 32;
049      /** RegularExpression Id. */
050      int ANY = 33;
051    
052      /** Lexical state. */
053      int DEFAULT = 0;
054      /** Lexical state. */
055      int INDOMAINLITERAL = 1;
056      /** Lexical state. */
057      int INCOMMENT = 2;
058      /** Lexical state. */
059      int NESTED_COMMENT = 3;
060      /** Lexical state. */
061      int INQUOTEDSTRING = 4;
062    
063      /** Literal token values. */
064      String[] tokenImage = {
065        "<EOF>",
066        "\"\\r\"",
067        "\"\\n\"",
068        "\",\"",
069        "\":\"",
070        "\";\"",
071        "\"<\"",
072        "\">\"",
073        "\"@\"",
074        "\".\"",
075        "<WS>",
076        "<ALPHA>",
077        "<DIGIT>",
078        "<ATEXT>",
079        "<DOTATOM>",
080        "\"[\"",
081        "<token of kind 16>",
082        "<token of kind 17>",
083        "\"]\"",
084        "\"(\"",
085        "\")\"",
086        "<token of kind 21>",
087        "\"(\"",
088        "<token of kind 23>",
089        "<token of kind 24>",
090        "\"(\"",
091        "\")\"",
092        "<token of kind 27>",
093        "\"\\\"\"",
094        "<token of kind 29>",
095        "<token of kind 30>",
096        "\"\\\"\"",
097        "<QUOTEDPAIR>",
098        "<ANY>",
099      };
100    
101    }