Home | History | Annotate | Download | only in parser
      1 /* Generated By:JavaCC: Do not edit this line. ContentTypeParserConstants.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.contenttype.parser;
     18 
     19 public interface ContentTypeParserConstants {
     20 
     21   int EOF = 0;
     22   int WS = 6;
     23   int COMMENT = 8;
     24   int QUOTEDSTRING = 19;
     25   int DIGITS = 20;
     26   int ATOKEN = 21;
     27   int QUOTEDPAIR = 22;
     28   int ANY = 23;
     29 
     30   int DEFAULT = 0;
     31   int INCOMMENT = 1;
     32   int NESTED_COMMENT = 2;
     33   int INQUOTEDSTRING = 3;
     34 
     35   String[] tokenImage = {
     36     "<EOF>",
     37     "\"\\r\"",
     38     "\"\\n\"",
     39     "\"/\"",
     40     "\";\"",
     41     "\"=\"",
     42     "<WS>",
     43     "\"(\"",
     44     "\")\"",
     45     "<token of kind 9>",
     46     "\"(\"",
     47     "<token of kind 11>",
     48     "<token of kind 12>",
     49     "\"(\"",
     50     "\")\"",
     51     "<token of kind 15>",
     52     "\"\\\"\"",
     53     "<token of kind 17>",
     54     "<token of kind 18>",
     55     "\"\\\"\"",
     56     "<DIGITS>",
     57     "<ATOKEN>",
     58     "<QUOTEDPAIR>",
     59     "<ANY>",
     60   };
     61 
     62 }
     63