|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| HTMLParserConstants | Line # 4 | 0 | 0 | - |
-1.0
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
| No Tests | |||
| 1 | /* Generated By:JavaCC: Do not edit this line. HTMLParserConstants.java */ | |
| 2 | package org.apache.lucene.demo.html; | |
| 3 | ||
| 4 | public interface HTMLParserConstants { | |
| 5 | ||
| 6 | int EOF = 0; | |
| 7 | int ScriptStart = 1; | |
| 8 | int TagName = 2; | |
| 9 | 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 = { | |
| 47 | "<EOF>", | |
| 48 | "\"<script\"", | |
| 49 | "<TagName>", | |
| 50 | "<DeclName>", | |
| 51 | "\"<!--\"", | |
| 52 | "\"<!\"", | |
| 53 | "<Word>", | |
| 54 | "<LET>", | |
| 55 | "<NUM>", | |
| 56 | "<HEX>", | |
| 57 | "<Entity>", | |
| 58 | "<Space>", | |
| 59 | "<SP>", | |
| 60 | "<Punct>", | |
| 61 | "<ScriptText>", | |
| 62 | "<ScriptEnd>", | |
| 63 | "<ArgName>", | |
| 64 | "\"=\"", | |
| 65 | "<TagEnd>", | |
| 66 | "<ArgValue>", | |
| 67 | "\"\\\'\"", | |
| 68 | "\"\\\"\"", | |
| 69 | "<token of kind 22>", | |
| 70 | "<Quote1Text>", | |
| 71 | "<CloseQuote1>", | |
| 72 | "<Quote2Text>", | |
| 73 | "<CloseQuote2>", | |
| 74 | "<CommentText1>", | |
| 75 | "\"-->\"", | |
| 76 | "<CommentText2>", | |
| 77 | "\">\"", | |
| 78 | }; | |
| 79 | ||
| 80 | } | |
|
||||||||||