PageRenderTime 79ms CodeModel.GetById 73ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/bundles/plugins-trunk/XML/xml/parser/javacc/XmlParserConstants.java

#
Java | 86 lines | 80 code | 5 blank | 1 comment | 0 complexity | 4b272d9849eced337a5c66fa2536dc29 MD5 | raw file
 1/* Generated By:JavaCC: Do not edit this line. XmlParserConstants.java */
 2package xml.parser.javacc;
 3
 4public interface XmlParserConstants {
 5
 6  int EOF = 0;
 7  int ALPHA_CHAR = 1;
 8  int NUM_CHAR = 2;
 9  int ALPHANUM_CHAR = 3;
10  int IDENTIFIER_CHAR = 4;
11  int IDENTIFIER = 5;
12  int QUOTED_STRING_NB = 6;
13  int QUOTED_STRING = 7;
14  int WHITESPACE = 8;
15  int NEWLINE = 9;
16  int QUOTE = 10;
17  int EOL = 11;
18  int COMMENT_START = 12;
19  int ENDTAG_START = 13;
20  int TAG_START = 14;
21  int DECL_START = 15;
22  int PCDATA = 16;
23  int TAG_NAME = 18;
24  int LST_ERROR = 19;
25  int ATTR_NAME = 21;
26  int TAG_END = 22;
27  int TAG_SLASHEND = 23;
28  int ATTR_EQ = 24;
29  int IMPLICIT_TAG_END = 25;
30  int LIT_ERROR = 26;
31  int ATTR_VAL = 28;
32  int LAV_ERROR = 29;
33  int COMMENT_END = 30;
34  int DASH = 31;
35  int COMMENT_EOL = 32;
36  int COMMENT_WORD = 33;
37  int DECL_ANY = 34;
38  int DECL_END = 35;
39
40  int LexDecl = 0;
41  int LexComment = 1;
42  int LexAttrVal = 2;
43  int LexInTag = 3;
44  int LexStartTag = 4;
45  int DEFAULT = 5;
46
47  String[] tokenImage = {
48    "<EOF>",
49    "<ALPHA_CHAR>",
50    "<NUM_CHAR>",
51    "<ALPHANUM_CHAR>",
52    "<IDENTIFIER_CHAR>",
53    "<IDENTIFIER>",
54    "<QUOTED_STRING_NB>",
55    "<QUOTED_STRING>",
56    "<WHITESPACE>",
57    "<NEWLINE>",
58    "<QUOTE>",
59    "<EOL>",
60    "<COMMENT_START>",
61    "<ENDTAG_START>",
62    "<TAG_START>",
63    "\"<!\"",
64    "<PCDATA>",
65    "<token of kind 17>",
66    "<TAG_NAME>",
67    "<LST_ERROR>",
68    "<token of kind 20>",
69    "<ATTR_NAME>",
70    "\">\"",
71    "\"/>\"",
72    "\"=\"",
73    "\"<\"",
74    "<LIT_ERROR>",
75    "<token of kind 27>",
76    "<ATTR_VAL>",
77    "<LAV_ERROR>",
78    "<COMMENT_END>",
79    "\"-\"",
80    "<COMMENT_EOL>",
81    "<COMMENT_WORD>",
82    "<DECL_ANY>",
83    "\">\"",
84  };
85
86}