001: /* Generated By:JavaCC: Do not edit this line. FMParserConstants.java */
002: package freemarker.core;
003:
004: interface FMParserConstants {
005:
006: int EOF = 0;
007: int BLANK = 1;
008: int START_TAG = 2;
009: int END_TAG = 3;
010: int CLOSE_TAG1 = 4;
011: int CLOSE_TAG2 = 5;
012: int ATTEMPT = 6;
013: int RECOVER = 7;
014: int IF = 8;
015: int ELSE_IF = 9;
016: int LIST = 10;
017: int FOREACH = 11;
018: int SWITCH = 12;
019: int CASE = 13;
020: int ASSIGN = 14;
021: int GLOBALASSIGN = 15;
022: int LOCALASSIGN = 16;
023: int INCLUDE = 17;
024: int IMPORT = 18;
025: int FUNCTION = 19;
026: int MACRO = 20;
027: int TRANSFORM = 21;
028: int VISIT = 22;
029: int STOP = 23;
030: int RETURN = 24;
031: int CALL = 25;
032: int SETTING = 26;
033: int COMPRESS = 27;
034: int COMMENT = 28;
035: int TERSE_COMMENT = 29;
036: int NOPARSE = 30;
037: int END_IF = 31;
038: int END_LIST = 32;
039: int END_RECOVER = 33;
040: int END_ATTEMPT = 34;
041: int END_FOREACH = 35;
042: int END_LOCAL = 36;
043: int END_GLOBAL = 37;
044: int END_ASSIGN = 38;
045: int END_FUNCTION = 39;
046: int END_MACRO = 40;
047: int END_COMPRESS = 41;
048: int END_TRANSFORM = 42;
049: int END_SWITCH = 43;
050: int ELSE = 44;
051: int BREAK = 45;
052: int SIMPLE_RETURN = 46;
053: int HALT = 47;
054: int FLUSH = 48;
055: int TRIM = 49;
056: int LTRIM = 50;
057: int RTRIM = 51;
058: int NOTRIM = 52;
059: int DEFAUL = 53;
060: int SIMPLE_NESTED = 54;
061: int NESTED = 55;
062: int SIMPLE_RECURSE = 56;
063: int RECURSE = 57;
064: int FALLBACK = 58;
065: int ESCAPE = 59;
066: int END_ESCAPE = 60;
067: int NOESCAPE = 61;
068: int END_NOESCAPE = 62;
069: int UNIFIED_CALL = 63;
070: int UNIFIED_CALL_END = 64;
071: int FTL_HEADER = 65;
072: int TRIVIAL_FTL_HEADER = 66;
073: int UNKNOWN_DIRECTIVE = 67;
074: int WHITESPACE = 68;
075: int PRINTABLE_CHARS = 69;
076: int FALSE_ALERT = 70;
077: int OUTPUT_ESCAPE = 71;
078: int NUMERICAL_ESCAPE = 72;
079: int ESCAPED_CHAR = 80;
080: int STRING_LITERAL = 81;
081: int RAW_STRING = 82;
082: int FALSE = 83;
083: int TRUE = 84;
084: int INTEGER = 85;
085: int DECIMAL = 86;
086: int DOT = 87;
087: int DOT_DOT = 88;
088: int BUILT_IN = 89;
089: int EXISTS = 90;
090: int EQUALS = 91;
091: int DOUBLE_EQUALS = 92;
092: int NOT_EQUALS = 93;
093: int LESS_THAN = 94;
094: int LESS_THAN_EQUALS = 95;
095: int ESCAPED_GT = 96;
096: int ESCAPED_GTE = 97;
097: int PLUS = 98;
098: int MINUS = 99;
099: int TIMES = 100;
100: int DOUBLE_STAR = 101;
101: int ELLIPSIS = 102;
102: int DIVIDE = 103;
103: int PERCENT = 104;
104: int AND = 105;
105: int OR = 106;
106: int EXCLAM = 107;
107: int COMMA = 108;
108: int SEMICOLON = 109;
109: int COLON = 110;
110: int OPEN_BRACKET = 111;
111: int CLOSE_BRACKET = 112;
112: int OPEN_PAREN = 113;
113: int CLOSE_PAREN = 114;
114: int OPEN_BRACE = 115;
115: int CLOSE_BRACE = 116;
116: int IN = 117;
117: int AS = 118;
118: int USING = 119;
119: int ID = 120;
120: int LETTER = 121;
121: int DIGIT = 122;
122: int DIRECTIVE_END = 123;
123: int EMPTY_DIRECTIVE_END = 124;
124: int NATURAL_GT = 125;
125: int NATURAL_GTE = 126;
126: int TERMINATING_WHITESPACE = 127;
127: int TERSE_COMMENT_END = 128;
128: int MAYBE_END = 129;
129: int KEEP_GOING = 130;
130: int LONE_LESS_THAN_OR_DASH = 131;
131:
132: int DEFAULT = 0;
133: int NODIRECTIVE = 1;
134: int FM_EXPRESSION = 2;
135: int IN_PAREN = 3;
136: int EXPRESSION_COMMENT = 4;
137: int NO_SPACE_EXPRESSION = 5;
138: int NO_PARSE = 6;
139:
140: String[] tokenImage = { "<EOF>", "<BLANK>", "<START_TAG>",
141: "<END_TAG>", "<CLOSE_TAG1>", "<CLOSE_TAG2>", "<ATTEMPT>",
142: "<RECOVER>", "<IF>", "<ELSE_IF>", "<LIST>", "<FOREACH>",
143: "<SWITCH>", "<CASE>", "<ASSIGN>", "<GLOBALASSIGN>",
144: "<LOCALASSIGN>", "<INCLUDE>", "<IMPORT>", "<FUNCTION>",
145: "<MACRO>", "<TRANSFORM>", "<VISIT>", "<STOP>", "<RETURN>",
146: "<CALL>", "<SETTING>", "<COMPRESS>", "<COMMENT>",
147: "<TERSE_COMMENT>", "<NOPARSE>", "<END_IF>", "<END_LIST>",
148: "<END_RECOVER>", "<END_ATTEMPT>", "<END_FOREACH>",
149: "<END_LOCAL>", "<END_GLOBAL>", "<END_ASSIGN>",
150: "<END_FUNCTION>", "<END_MACRO>", "<END_COMPRESS>",
151: "<END_TRANSFORM>", "<END_SWITCH>", "<ELSE>", "<BREAK>",
152: "<SIMPLE_RETURN>", "<HALT>", "<FLUSH>", "<TRIM>",
153: "<LTRIM>", "<RTRIM>", "<NOTRIM>", "<DEFAUL>",
154: "<SIMPLE_NESTED>", "<NESTED>", "<SIMPLE_RECURSE>",
155: "<RECURSE>", "<FALLBACK>", "<ESCAPE>", "<END_ESCAPE>",
156: "<NOESCAPE>", "<END_NOESCAPE>", "<UNIFIED_CALL>",
157: "<UNIFIED_CALL_END>", "<FTL_HEADER>",
158: "<TRIVIAL_FTL_HEADER>", "<UNKNOWN_DIRECTIVE>",
159: "<WHITESPACE>", "<PRINTABLE_CHARS>", "<FALSE_ALERT>",
160: "\"${\"", "\"#{\"", "<token of kind 73>",
161: "<token of kind 74>", "<token of kind 75>", "\">\"",
162: "\"]\"", "\"-\"", "<token of kind 79>", "<ESCAPED_CHAR>",
163: "<STRING_LITERAL>", "<RAW_STRING>", "\"false\"",
164: "\"true\"", "<INTEGER>", "<DECIMAL>", "\".\"", "\"..\"",
165: "\"?\"", "\"??\"", "\"=\"", "\"==\"", "\"!=\"",
166: "<LESS_THAN>", "<LESS_THAN_EQUALS>", "<ESCAPED_GT>",
167: "<ESCAPED_GTE>", "\"+\"", "\"-\"", "\"*\"", "\"**\"",
168: "\"...\"", "\"/\"", "\"%\"", "<AND>", "<OR>", "\"!\"",
169: "\",\"", "\";\"", "\":\"", "\"[\"", "\"]\"", "\"(\"",
170: "\")\"", "\"{\"", "\"}\"", "\"in\"", "\"as\"", "\"using\"",
171: "<ID>", "<LETTER>", "<DIGIT>", "\">\"",
172: "<EMPTY_DIRECTIVE_END>", "\">\"", "\">=\"",
173: "<TERMINATING_WHITESPACE>", "<TERSE_COMMENT_END>",
174: "<MAYBE_END>", "<KEEP_GOING>", "<LONE_LESS_THAN_OR_DASH>", };
175:
176: }
|