org.luaj.vm2.parser.LuaParserConstants Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of luaj-jse Show documentation
Show all versions of luaj-jse Show documentation
Luaj 2.0 for the jse platform
/* Generated By:JavaCC: Do not edit this line. LuaParserConstants.java */
package org.luaj.vm2.parser;
/**
* Token literal values and constants.
* Generated by org.javacc.parser.OtherFilesGen#start()
*/
public interface LuaParserConstants {
/** End of File. */
int EOF = 0;
/** RegularExpression Id. */
int COMMENT = 17;
/** RegularExpression Id. */
int LONGCOMMENT0 = 18;
/** RegularExpression Id. */
int LONGCOMMENT1 = 19;
/** RegularExpression Id. */
int LONGCOMMENT2 = 20;
/** RegularExpression Id. */
int LONGCOMMENT3 = 21;
/** RegularExpression Id. */
int LONGCOMMENTN = 22;
/** RegularExpression Id. */
int LONGSTRING0 = 23;
/** RegularExpression Id. */
int LONGSTRING1 = 24;
/** RegularExpression Id. */
int LONGSTRING2 = 25;
/** RegularExpression Id. */
int LONGSTRING3 = 26;
/** RegularExpression Id. */
int LONGSTRINGN = 27;
/** RegularExpression Id. */
int AND = 29;
/** RegularExpression Id. */
int BREAK = 30;
/** RegularExpression Id. */
int DO = 31;
/** RegularExpression Id. */
int ELSE = 32;
/** RegularExpression Id. */
int ELSEIF = 33;
/** RegularExpression Id. */
int END = 34;
/** RegularExpression Id. */
int FALSE = 35;
/** RegularExpression Id. */
int FOR = 36;
/** RegularExpression Id. */
int FUNCTION = 37;
/** RegularExpression Id. */
int IF = 38;
/** RegularExpression Id. */
int IN = 39;
/** RegularExpression Id. */
int LOCAL = 40;
/** RegularExpression Id. */
int NIL = 41;
/** RegularExpression Id. */
int NOT = 42;
/** RegularExpression Id. */
int OR = 43;
/** RegularExpression Id. */
int RETURN = 44;
/** RegularExpression Id. */
int REPEAT = 45;
/** RegularExpression Id. */
int THEN = 46;
/** RegularExpression Id. */
int TRUE = 47;
/** RegularExpression Id. */
int UNTIL = 48;
/** RegularExpression Id. */
int WHILE = 49;
/** RegularExpression Id. */
int NAME = 50;
/** RegularExpression Id. */
int NUMBER = 51;
/** RegularExpression Id. */
int FLOAT = 52;
/** RegularExpression Id. */
int DIGIT = 53;
/** RegularExpression Id. */
int EXP = 54;
/** RegularExpression Id. */
int HEX = 55;
/** RegularExpression Id. */
int HEXDIGIT = 56;
/** RegularExpression Id. */
int STRING = 57;
/** RegularExpression Id. */
int CHARSTRING = 58;
/** RegularExpression Id. */
int QUOTED = 59;
/** RegularExpression Id. */
int DECIMAL = 60;
/** RegularExpression Id. */
int UNICODE = 61;
/** RegularExpression Id. */
int CHAR = 62;
/** RegularExpression Id. */
int LF = 63;
/** Lexical state. */
int DEFAULT = 0;
/** Lexical state. */
int IN_COMMENT = 1;
/** Lexical state. */
int IN_LC0 = 2;
/** Lexical state. */
int IN_LC1 = 3;
/** Lexical state. */
int IN_LC2 = 4;
/** Lexical state. */
int IN_LC3 = 5;
/** Lexical state. */
int IN_LCN = 6;
/** Lexical state. */
int IN_LS0 = 7;
/** Lexical state. */
int IN_LS1 = 8;
/** Lexical state. */
int IN_LS2 = 9;
/** Lexical state. */
int IN_LS3 = 10;
/** Lexical state. */
int IN_LSN = 11;
/** Literal token values. */
String[] tokenImage = {
"",
"\" \"",
"\"\\t\"",
"\"\\n\"",
"\"\\r\"",
"\"\\f\"",
"\"--[[\"",
"\"--[=[\"",
"\"--[==[\"",
"\"--[===[\"",
"",
"\"[[\"",
"\"[=[\"",
"\"[==[\"",
"\"[===[\"",
"",
"\"--\"",
"",
"\"]]\"",
"\"]=]\"",
"\"]==]\"",
"\"]===]\"",
"",
"\"]]\"",
"\"]=]\"",
"\"]==]\"",
"\"]===]\"",
"",
"",
"\"and\"",
"\"break\"",
"\"do\"",
"\"else\"",
"\"elseif\"",
"\"end\"",
"\"false\"",
"\"for\"",
"\"function\"",
"\"if\"",
"\"in\"",
"\"local\"",
"\"nil\"",
"\"not\"",
"\"or\"",
"\"return\"",
"\"repeat\"",
"\"then\"",
"\"true\"",
"\"until\"",
"\"while\"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"",
"\";\"",
"\"=\"",
"\",\"",
"\".\"",
"\":\"",
"\"(\"",
"\")\"",
"\"[\"",
"\"]\"",
"\"...\"",
"\"{\"",
"\"}\"",
"\"+\"",
"\"-\"",
"\"*\"",
"\"/\"",
"\"^\"",
"\"%\"",
"\"..\"",
"\"<\"",
"\"<=\"",
"\">\"",
"\">=\"",
"\"==\"",
"\"~=\"",
"\"#\"",
};
}