| /* Generated By:JavaCC: Do not edit this line. ASTParserConstants.java */ |
| /* |
| * |
| * This file is part of Java 1.8 parser and Abstract Syntax Tree. |
| * |
| * Java 1.8 parser and Abstract Syntax Tree is free software: you can redistribute it and/or modify |
| * it under the terms of the GNU Lesser General Public License as published by |
| * the Free Software Foundation, either version 3 of the License, or |
| * (at your option) any later version. |
| * |
| * You should have received a copy of the GNU Lesser General Public License |
| * along with Java 1.8 parser and Abstract Syntax Tree. If not, see <http://www.gnu.org/licenses/>. |
| */ |
| package com.github.javaparser; |
| |
| |
| /** |
| * Token literal values and constants. |
| * Generated by org.javacc.parser.OtherFilesGen#start() |
| */ |
| public interface ASTParserConstants { |
| |
| /** End of File. */ |
| int EOF = 0; |
| /** RegularExpression Id. */ |
| int SINGLE_LINE_COMMENT = 31; |
| /** RegularExpression Id. */ |
| int JAVA_DOC_COMMENT = 34; |
| /** RegularExpression Id. */ |
| int MULTI_LINE_COMMENT = 35; |
| /** RegularExpression Id. */ |
| int ABSTRACT = 37; |
| /** RegularExpression Id. */ |
| int ASSERT = 38; |
| /** RegularExpression Id. */ |
| int BOOLEAN = 39; |
| /** RegularExpression Id. */ |
| int BREAK = 40; |
| /** RegularExpression Id. */ |
| int BYTE = 41; |
| /** RegularExpression Id. */ |
| int CASE = 42; |
| /** RegularExpression Id. */ |
| int CATCH = 43; |
| /** RegularExpression Id. */ |
| int CHAR = 44; |
| /** RegularExpression Id. */ |
| int CLASS = 45; |
| /** RegularExpression Id. */ |
| int CONST = 46; |
| /** RegularExpression Id. */ |
| int CONTINUE = 47; |
| /** RegularExpression Id. */ |
| int _DEFAULT = 48; |
| /** RegularExpression Id. */ |
| int DO = 49; |
| /** RegularExpression Id. */ |
| int DOUBLE = 50; |
| /** RegularExpression Id. */ |
| int ELSE = 51; |
| /** RegularExpression Id. */ |
| int ENUM = 52; |
| /** RegularExpression Id. */ |
| int EXTENDS = 53; |
| /** RegularExpression Id. */ |
| int FALSE = 54; |
| /** RegularExpression Id. */ |
| int FINAL = 55; |
| /** RegularExpression Id. */ |
| int FINALLY = 56; |
| /** RegularExpression Id. */ |
| int FLOAT = 57; |
| /** RegularExpression Id. */ |
| int FOR = 58; |
| /** RegularExpression Id. */ |
| int GOTO = 59; |
| /** RegularExpression Id. */ |
| int IF = 60; |
| /** RegularExpression Id. */ |
| int IMPLEMENTS = 61; |
| /** RegularExpression Id. */ |
| int IMPORT = 62; |
| /** RegularExpression Id. */ |
| int INSTANCEOF = 63; |
| /** RegularExpression Id. */ |
| int INT = 64; |
| /** RegularExpression Id. */ |
| int INTERFACE = 65; |
| /** RegularExpression Id. */ |
| int LONG = 66; |
| /** RegularExpression Id. */ |
| int NATIVE = 67; |
| /** RegularExpression Id. */ |
| int NEW = 68; |
| /** RegularExpression Id. */ |
| int NULL = 69; |
| /** RegularExpression Id. */ |
| int PACKAGE = 70; |
| /** RegularExpression Id. */ |
| int PRIVATE = 71; |
| /** RegularExpression Id. */ |
| int PROTECTED = 72; |
| /** RegularExpression Id. */ |
| int PUBLIC = 73; |
| /** RegularExpression Id. */ |
| int RETURN = 74; |
| /** RegularExpression Id. */ |
| int SHORT = 75; |
| /** RegularExpression Id. */ |
| int STATIC = 76; |
| /** RegularExpression Id. */ |
| int STRICTFP = 77; |
| /** RegularExpression Id. */ |
| int SUPER = 78; |
| /** RegularExpression Id. */ |
| int SWITCH = 79; |
| /** RegularExpression Id. */ |
| int SYNCHRONIZED = 80; |
| /** RegularExpression Id. */ |
| int THIS = 81; |
| /** RegularExpression Id. */ |
| int THROW = 82; |
| /** RegularExpression Id. */ |
| int THROWS = 83; |
| /** RegularExpression Id. */ |
| int TRANSIENT = 84; |
| /** RegularExpression Id. */ |
| int TRUE = 85; |
| /** RegularExpression Id. */ |
| int TRY = 86; |
| /** RegularExpression Id. */ |
| int VOID = 87; |
| /** RegularExpression Id. */ |
| int VOLATILE = 88; |
| /** RegularExpression Id. */ |
| int WHILE = 89; |
| /** RegularExpression Id. */ |
| int LONG_LITERAL = 90; |
| /** RegularExpression Id. */ |
| int INTEGER_LITERAL = 91; |
| /** RegularExpression Id. */ |
| int DECIMAL_LITERAL = 92; |
| /** RegularExpression Id. */ |
| int HEX_LITERAL = 93; |
| /** RegularExpression Id. */ |
| int OCTAL_LITERAL = 94; |
| /** RegularExpression Id. */ |
| int BINARY_LITERAL = 95; |
| /** RegularExpression Id. */ |
| int FLOATING_POINT_LITERAL = 96; |
| /** RegularExpression Id. */ |
| int DECIMAL_FLOATING_POINT_LITERAL = 97; |
| /** RegularExpression Id. */ |
| int DECIMAL_EXPONENT = 98; |
| /** RegularExpression Id. */ |
| int HEXADECIMAL_FLOATING_POINT_LITERAL = 99; |
| /** RegularExpression Id. */ |
| int HEXADECIMAL_EXPONENT = 100; |
| /** RegularExpression Id. */ |
| int CHARACTER_LITERAL = 101; |
| /** RegularExpression Id. */ |
| int STRING_LITERAL = 102; |
| /** RegularExpression Id. */ |
| int IDENTIFIER = 103; |
| /** RegularExpression Id. */ |
| int LETTER = 104; |
| /** RegularExpression Id. */ |
| int PART_LETTER = 105; |
| /** RegularExpression Id. */ |
| int LPAREN = 106; |
| /** RegularExpression Id. */ |
| int RPAREN = 107; |
| /** RegularExpression Id. */ |
| int LBRACE = 108; |
| /** RegularExpression Id. */ |
| int RBRACE = 109; |
| /** RegularExpression Id. */ |
| int LBRACKET = 110; |
| /** RegularExpression Id. */ |
| int RBRACKET = 111; |
| /** RegularExpression Id. */ |
| int SEMICOLON = 112; |
| /** RegularExpression Id. */ |
| int COMMA = 113; |
| /** RegularExpression Id. */ |
| int DOT = 114; |
| /** RegularExpression Id. */ |
| int AT = 115; |
| /** RegularExpression Id. */ |
| int ASSIGN = 116; |
| /** RegularExpression Id. */ |
| int LT = 117; |
| /** RegularExpression Id. */ |
| int BANG = 118; |
| /** RegularExpression Id. */ |
| int TILDE = 119; |
| /** RegularExpression Id. */ |
| int HOOK = 120; |
| /** RegularExpression Id. */ |
| int COLON = 121; |
| /** RegularExpression Id. */ |
| int EQ = 122; |
| /** RegularExpression Id. */ |
| int LE = 123; |
| /** RegularExpression Id. */ |
| int GE = 124; |
| /** RegularExpression Id. */ |
| int NE = 125; |
| /** RegularExpression Id. */ |
| int SC_OR = 126; |
| /** RegularExpression Id. */ |
| int SC_AND = 127; |
| /** RegularExpression Id. */ |
| int INCR = 128; |
| /** RegularExpression Id. */ |
| int DECR = 129; |
| /** RegularExpression Id. */ |
| int PLUS = 130; |
| /** RegularExpression Id. */ |
| int MINUS = 131; |
| /** RegularExpression Id. */ |
| int STAR = 132; |
| /** RegularExpression Id. */ |
| int SLASH = 133; |
| /** RegularExpression Id. */ |
| int BIT_AND = 134; |
| /** RegularExpression Id. */ |
| int BIT_OR = 135; |
| /** RegularExpression Id. */ |
| int XOR = 136; |
| /** RegularExpression Id. */ |
| int REM = 137; |
| /** RegularExpression Id. */ |
| int LSHIFT = 138; |
| /** RegularExpression Id. */ |
| int PLUSASSIGN = 139; |
| /** RegularExpression Id. */ |
| int MINUSASSIGN = 140; |
| /** RegularExpression Id. */ |
| int STARASSIGN = 141; |
| /** RegularExpression Id. */ |
| int SLASHASSIGN = 142; |
| /** RegularExpression Id. */ |
| int ANDASSIGN = 143; |
| /** RegularExpression Id. */ |
| int ORASSIGN = 144; |
| /** RegularExpression Id. */ |
| int XORASSIGN = 145; |
| /** RegularExpression Id. */ |
| int REMASSIGN = 146; |
| /** RegularExpression Id. */ |
| int LSHIFTASSIGN = 147; |
| /** RegularExpression Id. */ |
| int RSIGNEDSHIFTASSIGN = 148; |
| /** RegularExpression Id. */ |
| int RUNSIGNEDSHIFTASSIGN = 149; |
| /** RegularExpression Id. */ |
| int ELLIPSIS = 150; |
| /** RegularExpression Id. */ |
| int ARROW = 151; |
| /** RegularExpression Id. */ |
| int DOUBLECOLON = 152; |
| /** RegularExpression Id. */ |
| int RUNSIGNEDSHIFT = 153; |
| /** RegularExpression Id. */ |
| int RSIGNEDSHIFT = 154; |
| /** RegularExpression Id. */ |
| int GT = 155; |
| |
| /** Lexical state. */ |
| int DEFAULT = 0; |
| /** Lexical state. */ |
| int IN_JAVA_DOC_COMMENT = 1; |
| /** Lexical state. */ |
| int IN_MULTI_LINE_COMMENT = 2; |
| |
| /** Literal token values. */ |
| String[] tokenImage = { |
| "<EOF>", |
| "\" \"", |
| "\"\\t\"", |
| "\"\\n\"", |
| "\"\\r\"", |
| "\"\\f\"", |
| "\"\\u0085\"", |
| "\"\\u00a0\"", |
| "\"\\u1680\"", |
| "\"\\u180e\"", |
| "\"\\u2000\"", |
| "\"\\u2001\"", |
| "\"\\u2002\"", |
| "\"\\u2003\"", |
| "\"\\u2004\"", |
| "\"\\u2005\"", |
| "\"\\u2006\"", |
| "\"\\u2007\"", |
| "\"\\u2008\"", |
| "\"\\u2009\"", |
| "\"\\u200a\"", |
| "\"\\u200b\"", |
| "\"\\u200c\"", |
| "\"\\u200d\"", |
| "\"\\u2028\"", |
| "\"\\u2029\"", |
| "\"\\u202f\"", |
| "\"\\u205f\"", |
| "\"\\u2060\"", |
| "\"\\u3000\"", |
| "\"\\ufeff\"", |
| "<SINGLE_LINE_COMMENT>", |
| "<token of kind 32>", |
| "\"/*\"", |
| "\"*/\"", |
| "\"*/\"", |
| "<token of kind 36>", |
| "\"abstract\"", |
| "\"assert\"", |
| "\"boolean\"", |
| "\"break\"", |
| "\"byte\"", |
| "\"case\"", |
| "\"catch\"", |
| "\"char\"", |
| "\"class\"", |
| "\"const\"", |
| "\"continue\"", |
| "\"default\"", |
| "\"do\"", |
| "\"double\"", |
| "\"else\"", |
| "\"enum\"", |
| "\"extends\"", |
| "\"false\"", |
| "\"final\"", |
| "\"finally\"", |
| "\"float\"", |
| "\"for\"", |
| "\"goto\"", |
| "\"if\"", |
| "\"implements\"", |
| "\"import\"", |
| "\"instanceof\"", |
| "\"int\"", |
| "\"interface\"", |
| "\"long\"", |
| "\"native\"", |
| "\"new\"", |
| "\"null\"", |
| "\"package\"", |
| "\"private\"", |
| "\"protected\"", |
| "\"public\"", |
| "\"return\"", |
| "\"short\"", |
| "\"static\"", |
| "\"strictfp\"", |
| "\"super\"", |
| "\"switch\"", |
| "\"synchronized\"", |
| "\"this\"", |
| "\"throw\"", |
| "\"throws\"", |
| "\"transient\"", |
| "\"true\"", |
| "\"try\"", |
| "\"void\"", |
| "\"volatile\"", |
| "\"while\"", |
| "<LONG_LITERAL>", |
| "<INTEGER_LITERAL>", |
| "<DECIMAL_LITERAL>", |
| "<HEX_LITERAL>", |
| "<OCTAL_LITERAL>", |
| "<BINARY_LITERAL>", |
| "<FLOATING_POINT_LITERAL>", |
| "<DECIMAL_FLOATING_POINT_LITERAL>", |
| "<DECIMAL_EXPONENT>", |
| "<HEXADECIMAL_FLOATING_POINT_LITERAL>", |
| "<HEXADECIMAL_EXPONENT>", |
| "<CHARACTER_LITERAL>", |
| "<STRING_LITERAL>", |
| "<IDENTIFIER>", |
| "<LETTER>", |
| "<PART_LETTER>", |
| "\"(\"", |
| "\")\"", |
| "\"{\"", |
| "\"}\"", |
| "\"[\"", |
| "\"]\"", |
| "\";\"", |
| "\",\"", |
| "\".\"", |
| "\"@\"", |
| "\"=\"", |
| "\"<\"", |
| "\"!\"", |
| "\"~\"", |
| "\"?\"", |
| "\":\"", |
| "\"==\"", |
| "\"<=\"", |
| "\">=\"", |
| "\"!=\"", |
| "\"||\"", |
| "\"&&\"", |
| "\"++\"", |
| "\"--\"", |
| "\"+\"", |
| "\"-\"", |
| "\"*\"", |
| "\"/\"", |
| "\"&\"", |
| "\"|\"", |
| "\"^\"", |
| "\"%\"", |
| "\"<<\"", |
| "\"+=\"", |
| "\"-=\"", |
| "\"*=\"", |
| "\"/=\"", |
| "\"&=\"", |
| "\"|=\"", |
| "\"^=\"", |
| "\"%=\"", |
| "\"<<=\"", |
| "\">>=\"", |
| "\">>>=\"", |
| "\"...\"", |
| "\"->\"", |
| "\"::\"", |
| "\">>>\"", |
| "\">>\"", |
| "\">\"", |
| "\"\\u001a\"", |
| }; |
| |
| } |