org.apache.tomcat.util.json.JSONParserConstants Maven / Gradle / Ivy
The newest version!
/* 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 = {
"",
"",
"",
"",
"",
"",
"\",\"",
"\"{\"",
"\"}\"",
"\":\"",
"\"[\"",
"\"]\"",
"\"0\"",
"",
"",
"",
"",
"\"true\"",
"\"false\"",
"\"null\"",
"\"\\\"\"",
"\"\\\'\"",
"\"\\\'\\\'\"",
"\"\\\"\\\"\"",
"",
"",
"",
"",
"",
};
}