| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| WMParser_implConstants |
|
| 0.0;0 |
| 1 | /* Generated By:JavaCC: Do not edit this line. WMParser_implConstants.java */ | |
| 2 | package org.webmacro.parser; | |
| 3 | ||
| 4 | ||
| 5 | /** | |
| 6 | * Token literal values and constants. | |
| 7 | * Generated by org.javacc.parser.OtherFilesGen#start() | |
| 8 | */ | |
| 9 | public interface WMParser_implConstants { | |
| 10 | ||
| 11 | /** End of File. */ | |
| 12 | int EOF = 0; | |
| 13 | /** RegularExpression Id. */ | |
| 14 | int _ALPHA_CHAR = 1; | |
| 15 | /** RegularExpression Id. */ | |
| 16 | int _NUM_CHAR = 2; | |
| 17 | /** RegularExpression Id. */ | |
| 18 | int _ALPHANUM_CHAR = 3; | |
| 19 | /** RegularExpression Id. */ | |
| 20 | int _IDENTIFIER_CHAR = 4; | |
| 21 | /** RegularExpression Id. */ | |
| 22 | int _IDENTIFIER = 5; | |
| 23 | /** RegularExpression Id. */ | |
| 24 | int _NEWLINE = 6; | |
| 25 | /** RegularExpression Id. */ | |
| 26 | int _WHITESPACE = 7; | |
| 27 | /** RegularExpression Id. */ | |
| 28 | int _QCHAR = 8; | |
| 29 | /** RegularExpression Id. */ | |
| 30 | int _RESTOFLINE = 9; | |
| 31 | /** RegularExpression Id. */ | |
| 32 | int _COMMENT = 10; | |
| 33 | /** RegularExpression Id. */ | |
| 34 | int STUFF = 11; | |
| 35 | /** RegularExpression Id. */ | |
| 36 | int RBRACE = 12; | |
| 37 | /** RegularExpression Id. */ | |
| 38 | int END = 13; | |
| 39 | /** RegularExpression Id. */ | |
| 40 | int BEGIN = 14; | |
| 41 | /** RegularExpression Id. */ | |
| 42 | int LBRACE = 15; | |
| 43 | /** RegularExpression Id. */ | |
| 44 | int POUNDPOUND = 17; | |
| 45 | /** RegularExpression Id. */ | |
| 46 | int RESTOFLINE = 18; | |
| 47 | /** RegularExpression Id. */ | |
| 48 | int COMMENT_ELSE = 19; | |
| 49 | /** RegularExpression Id. */ | |
| 50 | int DOLLAR = 20; | |
| 51 | /** RegularExpression Id. */ | |
| 52 | int QCHAR = 21; | |
| 53 | /** RegularExpression Id. */ | |
| 54 | int SLASH = 22; | |
| 55 | /** RegularExpression Id. */ | |
| 56 | int POUND = 23; | |
| 57 | /** RegularExpression Id. */ | |
| 58 | int QUOTE = 24; | |
| 59 | /** RegularExpression Id. */ | |
| 60 | int SQUOTE = 25; | |
| 61 | /** RegularExpression Id. */ | |
| 62 | int NULL = 26; | |
| 63 | /** RegularExpression Id. */ | |
| 64 | int TRUE = 27; | |
| 65 | /** RegularExpression Id. */ | |
| 66 | int FALSE = 28; | |
| 67 | /** RegularExpression Id. */ | |
| 68 | int UNDEFINED = 29; | |
| 69 | /** RegularExpression Id. */ | |
| 70 | int WS = 30; | |
| 71 | /** RegularExpression Id. */ | |
| 72 | int NEWLINE = 31; | |
| 73 | /** RegularExpression Id. */ | |
| 74 | int LPAREN = 32; | |
| 75 | /** RegularExpression Id. */ | |
| 76 | int RPAREN = 33; | |
| 77 | /** RegularExpression Id. */ | |
| 78 | int LBRACKET = 34; | |
| 79 | /** RegularExpression Id. */ | |
| 80 | int RBRACKET = 35; | |
| 81 | /** RegularExpression Id. */ | |
| 82 | int COLON = 36; | |
| 83 | /** RegularExpression Id. */ | |
| 84 | int DOT = 37; | |
| 85 | /** RegularExpression Id. */ | |
| 86 | int OP_LT = 38; | |
| 87 | /** RegularExpression Id. */ | |
| 88 | int OP_LE = 39; | |
| 89 | /** RegularExpression Id. */ | |
| 90 | int OP_GT = 40; | |
| 91 | /** RegularExpression Id. */ | |
| 92 | int OP_GE = 41; | |
| 93 | /** RegularExpression Id. */ | |
| 94 | int OP_EQ = 42; | |
| 95 | /** RegularExpression Id. */ | |
| 96 | int OP_SET = 43; | |
| 97 | /** RegularExpression Id. */ | |
| 98 | int OP_NE = 44; | |
| 99 | /** RegularExpression Id. */ | |
| 100 | int OP_PLUS = 45; | |
| 101 | /** RegularExpression Id. */ | |
| 102 | int OP_MINUS = 46; | |
| 103 | /** RegularExpression Id. */ | |
| 104 | int OP_MULT = 47; | |
| 105 | /** RegularExpression Id. */ | |
| 106 | int OP_DIV = 48; | |
| 107 | /** RegularExpression Id. */ | |
| 108 | int OP_AND = 49; | |
| 109 | /** RegularExpression Id. */ | |
| 110 | int OP_OR = 50; | |
| 111 | /** RegularExpression Id. */ | |
| 112 | int OP_NOT = 51; | |
| 113 | /** RegularExpression Id. */ | |
| 114 | int COMMA = 52; | |
| 115 | /** RegularExpression Id. */ | |
| 116 | int SEMI = 53; | |
| 117 | /** RegularExpression Id. */ | |
| 118 | int WORD = 54; | |
| 119 | /** RegularExpression Id. */ | |
| 120 | int NUMBER = 55; | |
| 121 | /** RegularExpression Id. */ | |
| 122 | int OTHER = 56; | |
| 123 | /** RegularExpression Id. */ | |
| 124 | int QS_TEXT = 57; | |
| 125 | /** RegularExpression Id. */ | |
| 126 | int SQS_TEXT = 58; | |
| 127 | ||
| 128 | /** Lexical state. */ | |
| 129 | int SQS = 0; | |
| 130 | /** Lexical state. */ | |
| 131 | int QS = 1; | |
| 132 | /** Lexical state. */ | |
| 133 | int COMMENT = 2; | |
| 134 | /** Lexical state. */ | |
| 135 | int WM = 3; | |
| 136 | /** Lexical state. */ | |
| 137 | int DEFAULT = 4; | |
| 138 | ||
| 139 | /** Literal token values. */ | |
| 140 | String[] tokenImage = { | |
| 141 | "<EOF>", | |
| 142 | "<_ALPHA_CHAR>", | |
| 143 | "<_NUM_CHAR>", | |
| 144 | "<_ALPHANUM_CHAR>", | |
| 145 | "<_IDENTIFIER_CHAR>", | |
| 146 | "<_IDENTIFIER>", | |
| 147 | "<_NEWLINE>", | |
| 148 | "<_WHITESPACE>", | |
| 149 | "<_QCHAR>", | |
| 150 | "<_RESTOFLINE>", | |
| 151 | "<_COMMENT>", | |
| 152 | "<STUFF>", | |
| 153 | "\"}\"", | |
| 154 | "\"#end\"", | |
| 155 | "\"#begin\"", | |
| 156 | "\"{\"", | |
| 157 | "<token of kind 16>", | |
| 158 | "\"##\"", | |
| 159 | "<RESTOFLINE>", | |
| 160 | "<COMMENT_ELSE>", | |
| 161 | "\"$\"", | |
| 162 | "<QCHAR>", | |
| 163 | "\"\\\\\"", | |
| 164 | "\"#\"", | |
| 165 | "\"\\\"\"", | |
| 166 | "\"\\\'\"", | |
| 167 | "\"null\"", | |
| 168 | "\"true\"", | |
| 169 | "\"false\"", | |
| 170 | "\"undefined\"", | |
| 171 | "<WS>", | |
| 172 | "<NEWLINE>", | |
| 173 | "\"(\"", | |
| 174 | "\")\"", | |
| 175 | "\"[\"", | |
| 176 | "\"]\"", | |
| 177 | "\":\"", | |
| 178 | "\".\"", | |
| 179 | "\"<\"", | |
| 180 | "\"<=\"", | |
| 181 | "\">\"", | |
| 182 | "\">=\"", | |
| 183 | "\"==\"", | |
| 184 | "\"=\"", | |
| 185 | "<OP_NE>", | |
| 186 | "\"+\"", | |
| 187 | "\"-\"", | |
| 188 | "\"*\"", | |
| 189 | "\"/\"", | |
| 190 | "<OP_AND>", | |
| 191 | "<OP_OR>", | |
| 192 | "<OP_NOT>", | |
| 193 | "\",\"", | |
| 194 | "\";\"", | |
| 195 | "<WORD>", | |
| 196 | "<NUMBER>", | |
| 197 | "<OTHER>", | |
| 198 | "<QS_TEXT>", | |
| 199 | "<SQS_TEXT>", | |
| 200 | }; | |
| 201 | ||
| 202 | } |