File: JSONParserConstants.java

package info (click to toggle)
tomcat11 11.0.11-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 47,028 kB
  • sloc: java: 366,244; xml: 55,681; jsp: 4,783; sh: 1,304; perl: 324; makefile: 25; ansic: 14
file content (95 lines) | stat: -rw-r--r-- 3,375 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
/* Generated By:JavaCC: Do not edit this line. JSONParserConstants.java */
/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.apache.tomcat.util.json;


/**
 * Token literal values and constants. Generated by org.javacc.parser.OtherFilesGen#start()
 */
public interface JSONParserConstants {

    /** End of File. */
    int EOF = 0;
    /** RegularExpression Id. */
    int C_SINGLE_COMMENT = 1;
    /** RegularExpression Id. */
    int C_MULTILINE_COMMENT = 2;
    /** RegularExpression Id. */
    int SH_SINGLE_COMMENT = 3;
    /** RegularExpression Id. */
    int WHITESPACE = 4;
    /** RegularExpression Id. */
    int EOL = 5;
    /** RegularExpression Id. */
    int COMMA = 6;
    /** RegularExpression Id. */
    int BRACE_OPEN = 7;
    /** RegularExpression Id. */
    int BRACE_CLOSE = 8;
    /** RegularExpression Id. */
    int COLON = 9;
    /** RegularExpression Id. */
    int BRACKET_OPEN = 10;
    /** RegularExpression Id. */
    int BRACKET_CLOSE = 11;
    /** RegularExpression Id. */
    int ZERO = 12;
    /** RegularExpression Id. */
    int DIGIT_NONZERO = 13;
    /** RegularExpression Id. */
    int DIGIT = 14;
    /** RegularExpression Id. */
    int NUMBER_INTEGER = 15;
    /** RegularExpression Id. */
    int NUMBER_DECIMAL = 16;
    /** RegularExpression Id. */
    int TRUE = 17;
    /** RegularExpression Id. */
    int FALSE = 18;
    /** RegularExpression Id. */
    int NULL = 19;
    /** RegularExpression Id. */
    int QUOTE_DOUBLE = 20;
    /** RegularExpression Id. */
    int QUOTE_SINGLE = 21;
    /** RegularExpression Id. */
    int STRING_SINGLE_EMPTY = 22;
    /** RegularExpression Id. */
    int STRING_DOUBLE_EMPTY = 23;
    /** RegularExpression Id. */
    int STRING_SINGLE_BODY = 24;
    /** RegularExpression Id. */
    int STRING_DOUBLE_BODY = 25;
    /** RegularExpression Id. */
    int STRING_SINGLE_NONEMPTY = 26;
    /** RegularExpression Id. */
    int STRING_DOUBLE_NONEMPTY = 27;
    /** RegularExpression Id. */
    int SYMBOL = 28;

    /** Lexical state. */
    int DEFAULT = 0;

    /** Literal token values. */
    String[] tokenImage = { "<EOF>", "<C_SINGLE_COMMENT>", "<C_MULTILINE_COMMENT>", "<SH_SINGLE_COMMENT>",
            "<WHITESPACE>", "<EOL>", "\",\"", "\"{\"", "\"}\"", "\":\"", "\"[\"", "\"]\"", "\"0\"", "<DIGIT_NONZERO>",
            "<DIGIT>", "<NUMBER_INTEGER>", "<NUMBER_DECIMAL>", "\"true\"", "\"false\"", "\"null\"", "\"\\\"\"",
            "\"\\\'\"", "\"\\\'\\\'\"", "\"\\\"\\\"\"", "<STRING_SINGLE_BODY>", "<STRING_DOUBLE_BODY>",
            "<STRING_SINGLE_NONEMPTY>", "<STRING_DOUBLE_NONEMPTY>", "<SYMBOL>", };

}