01: /* Generated By:JavaCC: Do not edit this line. HTMLParserConstants.java */
02: package org.apache.lucene.demo.html;
03:
04: public interface HTMLParserConstants {
05:
06: int EOF = 0;
07: int ScriptStart = 1;
08: int TagName = 2;
09: int DeclName = 3;
10: int Comment1 = 4;
11: int Comment2 = 5;
12: int Word = 6;
13: int LET = 7;
14: int NUM = 8;
15: int HEX = 9;
16: int Entity = 10;
17: int Space = 11;
18: int SP = 12;
19: int Punct = 13;
20: int ScriptText = 14;
21: int ScriptEnd = 15;
22: int ArgName = 16;
23: int ArgEquals = 17;
24: int TagEnd = 18;
25: int ArgValue = 19;
26: int ArgQuote1 = 20;
27: int ArgQuote2 = 21;
28: int Quote1Text = 23;
29: int CloseQuote1 = 24;
30: int Quote2Text = 25;
31: int CloseQuote2 = 26;
32: int CommentText1 = 27;
33: int CommentEnd1 = 28;
34: int CommentText2 = 29;
35: int CommentEnd2 = 30;
36:
37: int DEFAULT = 0;
38: int WithinScript = 1;
39: int WithinTag = 2;
40: int AfterEquals = 3;
41: int WithinQuote1 = 4;
42: int WithinQuote2 = 5;
43: int WithinComment1 = 6;
44: int WithinComment2 = 7;
45:
46: String[] tokenImage = { "<EOF>", "\"<script\"", "<TagName>",
47: "<DeclName>", "\"<!--\"", "\"<!\"", "<Word>", "<LET>",
48: "<NUM>", "<HEX>", "<Entity>", "<Space>", "<SP>", "<Punct>",
49: "<ScriptText>", "<ScriptEnd>", "<ArgName>", "\"=\"",
50: "<TagEnd>", "<ArgValue>", "\"\\\'\"", "\"\\\"\"",
51: "<token of kind 22>", "<Quote1Text>", "<CloseQuote1>",
52: "<Quote2Text>", "<CloseQuote2>", "<CommentText1>",
53: "\"-->\"", "<CommentText2>", "\">\"", };
54:
55: }
|