1 18 package org.apache.beehive.netui.script.el.parser; 19 20 public interface NetUIELParserConstants { 21 22 int EOF = 0; 23 int NON_EXPRESSION_TEXT = 1; 24 int START_EXPRESSION = 2; 25 int ESCAPED_START_EXPRESSION = 3; 26 int END_EXPRESSION = 4; 27 int STRING_LITERAL = 5; 28 int ECMA_ESCAPE_SEQUENCE = 6; 29 int HIT = 7; 30 int IDENTIFIER = 8; 31 int IMPL_OBJ_START = 9; 32 int LETTER = 10; 33 int DIGIT = 11; 34 int INTEGER = 12; 35 int DOT = 13; 36 int DQUOTE = 14; 37 int SQUOTE = 15; 38 int LBRACKET = 16; 39 int RBRACKET = 17; 40 41 int DEFAULT = 0; 42 int IN_EXPRESSION = 1; 43 44 String [] tokenImage = { 45 "<EOF>", 46 "<NON_EXPRESSION_TEXT>", 47 "\"{\"", 48 "\"\\\\\\\\{\"", 49 "\"}\"", 50 "<STRING_LITERAL>", 51 "<ECMA_ESCAPE_SEQUENCE>", 52 "<HIT>", 53 "<IDENTIFIER>", 54 "\"#\"", 55 "<LETTER>", 56 "<DIGIT>", 57 "<INTEGER>", 58 "\".\"", 59 "\"\\\"\"", 60 "\"\\\'\"", 61 "\"[\"", 62 "\"]\"", 63 }; 64 65 } 66 | Popular Tags |