1 2 package com.genimen.djeneric.tools.scriptengine.core; 3 4 public interface DjScriptParserEngineConstants 5 { 6 7 int EOF = 0; 8 int SINGLE_LINE_COMMENT = 9; 9 int FORMAL_COMMENT = 10; 10 int MULTI_LINE_COMMENT = 11; 11 int INTEGER_LITERAL = 13; 12 int DECIMAL_LITERAL = 14; 13 int HEX_LITERAL = 15; 14 int OCTAL_LITERAL = 16; 15 int FLOATING_POINT_LITERAL = 17; 16 int EXPONENT = 18; 17 int CHARACTER_LITERAL = 19; 18 int STRING_LITERAL = 20; 19 int SCRIPT = 21; 20 int SUBSCRIPT = 22; 21 int CONSTRUCTOR = 23; 22 int CONTROLLER = 24; 23 int TRACE = 25; 24 int FAIL = 26; 25 int CUSTOMPANEL = 27; 26 int EDIT = 28; 27 int JAVA = 29; 28 int CHOOSE = 30; 29 int DISPATCH = 31; 30 int NEW = 32; 31 int COMMIT = 33; 32 int ROLLBACK = 34; 33 int TERMINATE = 35; 34 int DELETE = 36; 35 int EVENTS = 37; 36 int ACTION = 38; 37 int BODY = 39; 38 int SET = 40; 39 int FILTER = 41; 40 int LIKE = 42; 41 int FOR = 43; 42 int ORDER = 44; 43 int BY = 45; 44 int IN = 46; 45 int INTO = 47; 46 int IF = 48; 47 int INSTANCEOF = 49; 48 int ELSE = 50; 49 int TRUE = 51; 50 int TO = 52; 51 int ESCAPE = 53; 52 int FALSE = 54; 53 int NULL = 55; 54 int IDENTIFIER = 56; 55 int LETTER = 57; 56 int DIGIT = 58; 57 int LPAREN = 59; 58 int RPAREN = 60; 59 int LBRACE = 61; 60 int RBRACE = 62; 61 int LBRACKET = 63; 62 int RBRACKET = 64; 63 int SEMICOLON = 65; 64 int COMMA = 66; 65 int DOT = 67; 66 int ASSIGN = 68; 67 int GT = 69; 68 int LT = 70; 69 int BANG = 71; 70 int TILDE = 72; 71 int HOOK = 73; 72 int COLON = 74; 73 int EQ = 75; 74 int MAPPING = 76; 75 int LE = 77; 76 int GE = 78; 77 int NE = 79; 78 int SC_OR = 80; 79 int SC_AND = 81; 80 int INCR = 82; 81 int DECR = 83; 82 int PLUS = 84; 83 int MINUS = 85; 84 int STAR = 86; 85 int SLASH = 87; 86 int BIT_AND = 88; 87 int BIT_OR = 89; 88 int XOR = 90; 89 int REM = 91; 90 int LSHIFT = 92; 91 int RSIGNEDSHIFT = 93; 92 int RUNSIGNEDSHIFT = 94; 93 int PLUSASSIGN = 95; 94 int MINUSASSIGN = 96; 95 int STARASSIGN = 97; 96 int SLASHASSIGN = 98; 97 int ANDASSIGN = 99; 98 int ORASSIGN = 100; 99 int XORASSIGN = 101; 100 int REMASSIGN = 102; 101 int LSHIFTASSIGN = 103; 102 int RSIGNEDSHIFTASSIGN = 104; 103 int RUNSIGNEDSHIFTASSIGN = 105; 104 105 int DEFAULT = 0; 106 int IN_SINGLE_LINE_COMMENT = 1; 107 int IN_FORMAL_COMMENT = 2; 108 int IN_MULTI_LINE_COMMENT = 3; 109 110 String [] tokenImage = {"<EOF>", "\" \"", "\"\\t\"", "\"\\n\"", "\"\\r\"", "\"\\f\"", "\"//\"", 111 "<token of kind 7>", "\"/*\"", "<SINGLE_LINE_COMMENT>", "\"*/\"", "\"*/\"", "<token of kind 12>", 112 "<INTEGER_LITERAL>", "<DECIMAL_LITERAL>", "<HEX_LITERAL>", "<OCTAL_LITERAL>", "<FLOATING_POINT_LITERAL>", 113 "<EXPONENT>", "<CHARACTER_LITERAL>", "<STRING_LITERAL>", "\"script\"", "\"subscript\"", "\"constructor\"", 114 "\"controller\"", "\"trace\"", "\"fail\"", "\"custompanel\"", "\"edit\"", "\"java\"", "\"choose\"", 115 "\"dispatch\"", "\"new\"", "\"commit\"", "\"rollback\"", "\"terminate\"", "\"delete\"", "\"events\"", 116 "\"action\"", "\"body\"", "\"set\"", "\"filter\"", "\"like\"", "\"for\"", "\"order\"", "\"by\"", "\"in\"", 117 "\"into\"", "\"if\"", "\"instanceof\"", "\"else\"", "\"true\"", "\"to\"", "\"\\\\\"", "\"false\"", "\"null\"", 118 "<IDENTIFIER>", "<LETTER>", "<DIGIT>", "\"(\"", "\")\"", "\"{\"", "\"}\"", "\"[\"", "\"]\"", "\";\"", "\",\"", 119 "\".\"", "\"=\"", "\">\"", "\"<\"", "\"!\"", "\"~\"", "\"?\"", "\":\"", "\"==\"", "\"->\"", "\"<=\"", "\">=\"", 120 "\"!=\"", "\"||\"", "\"&&\"", "\"++\"", "\"--\"", "\"+\"", "\"-\"", "\"*\"", "\"/\"", "\"&\"", "\"|\"", "\"^\"", 121 "\"%\"", "\"<<\"", "\">>\"", "\">>>\"", "\"+=\"", "\"-=\"", "\"*=\"", "\"/=\"", "\"&=\"", "\"|=\"", "\"^=\"", 122 "\"%=\"", "\"<<=\"", "\">>=\"", "\">>>=\"",}; 123 124 } | Popular Tags |