Home | History | Annotate | Download | only in parser
      1 /* Generated By:JJTree&JavaCC: Do not edit this line. AddressListParserConstants.java */
      2 /*
      3  *  Copyright 2004 the mime4j project
      4  *
      5  *  Licensed under the Apache License, Version 2.0 (the "License");
      6  *  you may not use this file except in compliance with the License.
      7  *  You may obtain a copy of the License at
      8  *
      9  *      http://www.apache.org/licenses/LICENSE-2.0
     10  *
     11  *  Unless required by applicable law or agreed to in writing, software
     12  *  distributed under the License is distributed on an "AS IS" BASIS,
     13  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     14  *  See the License for the specific language governing permissions and
     15  *  limitations under the License.
     16  */
     17 package org.apache.james.mime4j.field.address.parser;
     18 
     19 public interface AddressListParserConstants {
     20 
     21   int EOF = 0;
     22   int WS = 10;
     23   int ALPHA = 11;
     24   int DIGIT = 12;
     25   int ATEXT = 13;
     26   int DOTATOM = 14;
     27   int DOMAINLITERAL = 18;
     28   int COMMENT = 20;
     29   int QUOTEDSTRING = 31;
     30   int QUOTEDPAIR = 32;
     31   int ANY = 33;
     32 
     33   int DEFAULT = 0;
     34   int INDOMAINLITERAL = 1;
     35   int INCOMMENT = 2;
     36   int NESTED_COMMENT = 3;
     37   int INQUOTEDSTRING = 4;
     38 
     39   String[] tokenImage = {
     40     "<EOF>",
     41     "\"\\r\"",
     42     "\"\\n\"",
     43     "\",\"",
     44     "\":\"",
     45     "\";\"",
     46     "\"<\"",
     47     "\">\"",
     48     "\"@\"",
     49     "\".\"",
     50     "<WS>",
     51     "<ALPHA>",
     52     "<DIGIT>",
     53     "<ATEXT>",
     54     "<DOTATOM>",
     55     "\"[\"",
     56     "<token of kind 16>",
     57     "<token of kind 17>",
     58     "\"]\"",
     59     "\"(\"",
     60     "\")\"",
     61     "<token of kind 21>",
     62     "\"(\"",
     63     "<token of kind 23>",
     64     "<token of kind 24>",
     65     "\"(\"",
     66     "\")\"",
     67     "<token of kind 27>",
     68     "\"\\\"\"",
     69     "<token of kind 29>",
     70     "<token of kind 30>",
     71     "\"\\\"\"",
     72     "<QUOTEDPAIR>",
     73     "<ANY>",
     74   };
     75 
     76 }
     77