home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1998 November
/
Chip_1998-11_cd.bin
/
tema
/
Cafe
/
jfc.bin
/
style32.java
< prev
next >
Wrap
Text File
|
1998-02-26
|
84KB
|
2,198 lines
/* Generated By:JavaCC: Do not edit this line. style32.java */
package com.sun.java.swing.text.html;
/*
* @(#)style32.java 1.6 97/10/10
*
* Copyright (c) 1997 Sun Microsystems, Inc. All Rights Reserved.
*
* This software is the confidential and proprietary information of Sun
* Microsystems, Inc. ("Confidential Information"). You shall not
* disclose such Confidential Information and shall use it only in
* accordance with the terms of the license agreement you entered into
* with Sun.
*
* SUN MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE
* SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
* IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
* PURPOSE, OR NON-INFRINGEMENT. SUN SHALL NOT BE LIABLE FOR ANY DAMAGES
* SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING
* THIS SOFTWARE OR ITS DERIVATIVES.
*
*/
/**
*
* @version 1.6 10/10/97
* @author Makarand Gokhale
*
*/
/**
* A Style Parser for W3C cascading style sheets
*
* The Parser calls Action methods in a callback to notify about the
* properties values, tag selectors etc
*
* The productions call into a method to deal with the action.
* These methods are called XXXAction where XXX is the name of
* the production. This allows the grammer to be used for
* multiple things without a maintenance burdon.
*
*/
class style32 implements style32Constants {
private HTMLStyleCallback callback;
public void setCallback(HTMLStyleCallback cb){
callback = cb;
}
public static void main(String args[]) {
System.out.println("Reading from standard input...");
HTMLStyleCallbackDefault.doDebug = true;
style32 t = new style32(new java.io.InputStreamReader(System.in));
t.setCallback(new HTMLStyleCallbackDefault());
try {
if(args.length > 0){
if(args[0].equalsIgnoreCase("doc"))
t.docstylesheet();
else
t.extstylesheet();
}
else
t.extstylesheet();
System.out.println("Thank you.");
} catch (Exception e) {
System.out.println("Oops.");
System.out.println(e.getMessage());
e.printStackTrace();
}
}
public style32(java.io.Reader reader){
this(new ReaderCharStream(reader, 1,1));
}
public void ReInit(java.io.Reader reader){
ReInit(new ReaderCharStream(reader, 1,1));
}
// ================================================================
final public void docstylesheet() throws ParseException {
jj_consume_token(STAGO);
jj_consume_token(STYLETAG0);
if (jj_mask_0[getToken(1).kind]) {
jj_consume_token(SA_NAME);
jj_consume_token(T_EQ);
jj_consume_token(SA_VAL);
} else {
jj_expLA1[0] = jj_gen;
;
}
jj_consume_token(TAGC);
extstylesheet();
if (jj_mask_1[getToken(1).kind]) {
jj_consume_token(ETAGO);
jj_consume_token(STYLETAG0);
jj_consume_token(TAGC);
} else {
jj_expLA1[1] = jj_gen;
;
}
}
static boolean[] jj_mask_0 = new boolean[122];
static {
jj_mask_0[SA_NAME] = true;
}
static boolean[] jj_mask_1 = new boolean[122];
static {
jj_mask_1[ETAGO] = true;
}
final public void extstylesheet() throws ParseException {
label_1:
while (true) {
if (jj_mask_2[getToken(1).kind]) {
;
} else {
jj_expLA1[2] = jj_gen;
break label_1;
}
style();
}
}
static boolean[] jj_mask_2 = new boolean[122];
static {
jj_mask_2[A] =
jj_mask_2[ADDRESS] =
jj_mask_2[APPLET] =
jj_mask_2[AREA] =
jj_mask_2[B] =
jj_mask_2[BASE] =
jj_mask_2[BASEFONT] =
jj_mask_2[BIG] =
jj_mask_2[BLOCKQUOTE] =
jj_mask_2[BODY] =
jj_mask_2[BR] =
jj_mask_2[CAPTION] =
jj_mask_2[CENTER] =
jj_mask_2[CITE] =
jj_mask_2[CODE] =
jj_mask_2[DD] =
jj_mask_2[DFN] =
jj_mask_2[DIR] =
jj_mask_2[DIV] =
jj_mask_2[DL] =
jj_mask_2[DT] =
jj_mask_2[EM] =
jj_mask_2[FONT] =
jj_mask_2[FORM] =
jj_mask_2[H1] =
jj_mask_2[H2] =
jj_mask_2[H3] =
jj_mask_2[H4] =
jj_mask_2[H5] =
jj_mask_2[H6] =
jj_mask_2[HEAD] =
jj_mask_2[HR] =
jj_mask_2[HTML] =
jj_mask_2[I] =
jj_mask_2[IMG] =
jj_mask_2[INPUT] =
jj_mask_2[ISINDEX] =
jj_mask_2[KBD] =
jj_mask_2[LI] =
jj_mask_2[LINK] =
jj_mask_2[MAP] =
jj_mask_2[MENU] =
jj_mask_2[META] =
jj_mask_2[OL] =
jj_mask_2[OPTION] =
jj_mask_2[P] =
jj_mask_2[PARAM] =
jj_mask_2[PRE] =
jj_mask_2[PROMPT] =
jj_mask_2[SAMP] =
jj_mask_2[SCRIPT] =
jj_mask_2[SELECT] =
jj_mask_2[SMALL] =
jj_mask_2[STRIKE] =
jj_mask_2[STRONG] =
jj_mask_2[STYLE] =
jj_mask_2[SUB] =
jj_mask_2[SUP] =
jj_mask_2[TABLE] =
jj_mask_2[TD] =
jj_mask_2[TEXTAREA] =
jj_mask_2[TH] =
jj_mask_2[TITLE] =
jj_mask_2[TR] =
jj_mask_2[TT] =
jj_mask_2[U] =
jj_mask_2[UL] =
jj_mask_2[VAR] =
jj_mask_2[UNKNOWN] =
jj_mask_2[DOT] = true;
}
final public void style() throws ParseException {
tagstyle();
label_2:
while (true) {
if (jj_mask_3[getToken(1).kind]) {
;
} else {
jj_expLA1[3] = jj_gen;
break label_2;
}
deptagstyle();
}
label_3:
while (true) {
if (jj_mask_4[getToken(1).kind]) {
;
} else {
jj_expLA1[4] = jj_gen;
break label_3;
}
jj_consume_token(COMMA);
tagstyle();
label_4:
while (true) {
if (jj_mask_5[getToken(1).kind]) {
;
} else {
jj_expLA1[5] = jj_gen;
break label_4;
}
deptagstyle();
}
}
jj_consume_token(SPROP);
callback.propsOpenAction();
property();
label_5:
while (true) {
if (jj_mask_6[getToken(1).kind]) {
;
} else {
jj_expLA1[6] = jj_gen;
break label_5;
}
jj_consume_token(SEMICOLON);
property();
}
jj_consume_token(EPROP);
callback.propsCloseAction();
}
static boolean[] jj_mask_3 = new boolean[122];
static {
jj_mask_3[A] =
jj_mask_3[ADDRESS] =
jj_mask_3[APPLET] =
jj_mask_3[AREA] =
jj_mask_3[B] =
jj_mask_3[BASE] =
jj_mask_3[BASEFONT] =
jj_mask_3[BIG] =
jj_mask_3[BLOCKQUOTE] =
jj_mask_3[BODY] =
jj_mask_3[BR] =
jj_mask_3[CAPTION] =
jj_mask_3[CENTER] =
jj_mask_3[CITE] =
jj_mask_3[CODE] =
jj_mask_3[DD] =
jj_mask_3[DFN] =
jj_mask_3[DIR] =
jj_mask_3[DIV] =
jj_mask_3[DL] =
jj_mask_3[DT] =
jj_mask_3[EM] =
jj_mask_3[FONT] =
jj_mask_3[FORM] =
jj_mask_3[H1] =
jj_mask_3[H2] =
jj_mask_3[H3] =
jj_mask_3[H4] =
jj_mask_3[H5] =
jj_mask_3[H6] =
jj_mask_3[HEAD] =
jj_mask_3[HR] =
jj_mask_3[HTML] =
jj_mask_3[I] =
jj_mask_3[IMG] =
jj_mask_3[INPUT] =
jj_mask_3[ISINDEX] =
jj_mask_3[KBD] =
jj_mask_3[LI] =
jj_mask_3[LINK] =
jj_mask_3[MAP] =
jj_mask_3[MENU] =
jj_mask_3[META] =
jj_mask_3[OL] =
jj_mask_3[OPTION] =
jj_mask_3[P] =
jj_mask_3[PARAM] =
jj_mask_3[PRE] =
jj_mask_3[PROMPT] =
jj_mask_3[SAMP] =
jj_mask_3[SCRIPT] =
jj_mask_3[SELECT] =
jj_mask_3[SMALL] =
jj_mask_3[STRIKE] =
jj_mask_3[STRONG] =
jj_mask_3[STYLE] =
jj_mask_3[SUB] =
jj_mask_3[SUP] =
jj_mask_3[TABLE] =
jj_mask_3[TD] =
jj_mask_3[TEXTAREA] =
jj_mask_3[TH] =
jj_mask_3[TITLE] =
jj_mask_3[TR] =
jj_mask_3[TT] =
jj_mask_3[U] =
jj_mask_3[UL] =
jj_mask_3[VAR] =
jj_mask_3[UNKNOWN] =
jj_mask_3[DOT] = true;
}
static boolean[] jj_mask_4 = new boolean[122];
static {
jj_mask_4[COMMA] = true;
}
static boolean[] jj_mask_5 = new boolean[122];
static {
jj_mask_5[A] =
jj_mask_5[ADDRESS] =
jj_mask_5[APPLET] =
jj_mask_5[AREA] =
jj_mask_5[B] =
jj_mask_5[BASE] =
jj_mask_5[BASEFONT] =
jj_mask_5[BIG] =
jj_mask_5[BLOCKQUOTE] =
jj_mask_5[BODY] =
jj_mask_5[BR] =
jj_mask_5[CAPTION] =
jj_mask_5[CENTER] =
jj_mask_5[CITE] =
jj_mask_5[CODE] =
jj_mask_5[DD] =
jj_mask_5[DFN] =
jj_mask_5[DIR] =
jj_mask_5[DIV] =
jj_mask_5[DL] =
jj_mask_5[DT] =
jj_mask_5[EM] =
jj_mask_5[FONT] =
jj_mask_5[FORM] =
jj_mask_5[H1] =
jj_mask_5[H2] =
jj_mask_5[H3] =
jj_mask_5[H4] =
jj_mask_5[H5] =
jj_mask_5[H6] =
jj_mask_5[HEAD] =
jj_mask_5[HR] =
jj_mask_5[HTML] =
jj_mask_5[I] =
jj_mask_5[IMG] =
jj_mask_5[INPUT] =
jj_mask_5[ISINDEX] =
jj_mask_5[KBD] =
jj_mask_5[LI] =
jj_mask_5[LINK] =
jj_mask_5[MAP] =
jj_mask_5[MENU] =
jj_mask_5[META] =
jj_mask_5[OL] =
jj_mask_5[OPTION] =
jj_mask_5[P] =
jj_mask_5[PARAM] =
jj_mask_5[PRE] =
jj_mask_5[PROMPT] =
jj_mask_5[SAMP] =
jj_mask_5[SCRIPT] =
jj_mask_5[SELECT] =
jj_mask_5[SMALL] =
jj_mask_5[STRIKE] =
jj_mask_5[STRONG] =
jj_mask_5[STYLE] =
jj_mask_5[SUB] =
jj_mask_5[SUP] =
jj_mask_5[TABLE] =
jj_mask_5[TD] =
jj_mask_5[TEXTAREA] =
jj_mask_5[TH] =
jj_mask_5[TITLE] =
jj_mask_5[TR] =
jj_mask_5[TT] =
jj_mask_5[U] =
jj_mask_5[UL] =
jj_mask_5[VAR] =
jj_mask_5[UNKNOWN] =
jj_mask_5[DOT] = true;
}
static boolean[] jj_mask_6 = new boolean[122];
static {
jj_mask_6[SEMICOLON] = true;
}
final public void deptagstyle() throws ParseException {
tagstyle();
callback.depTagAction();
}
final public void tagstyle() throws ParseException {
Token t1=null, t2 = null;
if (jj_2_1(2)) {
tag();
jj_consume_token(DOT);
t2 = jj_consume_token(C_NAME);
} else {
if (jj_mask_8[getToken(1).kind]) {
tag();
} else {
jj_expLA1[8] = jj_gen;
if (jj_mask_7[getToken(1).kind]) {
t1 = jj_consume_token(DOT);
t2 = jj_consume_token(C_NAME);
} else {
jj_expLA1[7] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
}
if(t1 != null)
callback.tagAction("generic");
if(t2 != null)
callback.classAction(t2.image);
pseudoclass();
}
static boolean[] jj_mask_7 = new boolean[122];
static {
jj_mask_7[DOT] = true;
}
static boolean[] jj_mask_8 = new boolean[122];
static {
jj_mask_8[A] =
jj_mask_8[ADDRESS] =
jj_mask_8[APPLET] =
jj_mask_8[AREA] =
jj_mask_8[B] =
jj_mask_8[BASE] =
jj_mask_8[BASEFONT] =
jj_mask_8[BIG] =
jj_mask_8[BLOCKQUOTE] =
jj_mask_8[BODY] =
jj_mask_8[BR] =
jj_mask_8[CAPTION] =
jj_mask_8[CENTER] =
jj_mask_8[CITE] =
jj_mask_8[CODE] =
jj_mask_8[DD] =
jj_mask_8[DFN] =
jj_mask_8[DIR] =
jj_mask_8[DIV] =
jj_mask_8[DL] =
jj_mask_8[DT] =
jj_mask_8[EM] =
jj_mask_8[FONT] =
jj_mask_8[FORM] =
jj_mask_8[H1] =
jj_mask_8[H2] =
jj_mask_8[H3] =
jj_mask_8[H4] =
jj_mask_8[H5] =
jj_mask_8[H6] =
jj_mask_8[HEAD] =
jj_mask_8[HR] =
jj_mask_8[HTML] =
jj_mask_8[I] =
jj_mask_8[IMG] =
jj_mask_8[INPUT] =
jj_mask_8[ISINDEX] =
jj_mask_8[KBD] =
jj_mask_8[LI] =
jj_mask_8[LINK] =
jj_mask_8[MAP] =
jj_mask_8[MENU] =
jj_mask_8[META] =
jj_mask_8[OL] =
jj_mask_8[OPTION] =
jj_mask_8[P] =
jj_mask_8[PARAM] =
jj_mask_8[PRE] =
jj_mask_8[PROMPT] =
jj_mask_8[SAMP] =
jj_mask_8[SCRIPT] =
jj_mask_8[SELECT] =
jj_mask_8[SMALL] =
jj_mask_8[STRIKE] =
jj_mask_8[STRONG] =
jj_mask_8[STYLE] =
jj_mask_8[SUB] =
jj_mask_8[SUP] =
jj_mask_8[TABLE] =
jj_mask_8[TD] =
jj_mask_8[TEXTAREA] =
jj_mask_8[TH] =
jj_mask_8[TITLE] =
jj_mask_8[TR] =
jj_mask_8[TT] =
jj_mask_8[U] =
jj_mask_8[UL] =
jj_mask_8[VAR] =
jj_mask_8[UNKNOWN] = true;
}
final public void pseudoclass() throws ParseException {
Token t = null;
if (jj_mask_14[getToken(1).kind]) {
jj_consume_token(COLON);
if (jj_mask_13[getToken(1).kind]) {
t = jj_consume_token(PLINK);
} else {
jj_expLA1[13] = jj_gen;
if (jj_mask_12[getToken(1).kind]) {
t = jj_consume_token(ACTIVE);
} else {
jj_expLA1[12] = jj_gen;
if (jj_mask_11[getToken(1).kind]) {
t = jj_consume_token(VISITED);
} else {
jj_expLA1[11] = jj_gen;
if (jj_mask_10[getToken(1).kind]) {
t = jj_consume_token(FIRSTLINE);
} else {
jj_expLA1[10] = jj_gen;
if (jj_mask_9[getToken(1).kind]) {
t = jj_consume_token(FIRSTLETTER);
} else {
jj_expLA1[9] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
}
}
}
} else {
jj_expLA1[14] = jj_gen;
;
}
if(t != null){
callback.pseudoclassAction(t.image);
t= null;
}
}
static boolean[] jj_mask_9 = new boolean[122];
static {
jj_mask_9[FIRSTLETTER] = true;
}
static boolean[] jj_mask_10 = new boolean[122];
static {
jj_mask_10[FIRSTLINE] = true;
}
static boolean[] jj_mask_11 = new boolean[122];
static {
jj_mask_11[VISITED] = true;
}
static boolean[] jj_mask_12 = new boolean[122];
static {
jj_mask_12[ACTIVE] = true;
}
static boolean[] jj_mask_13 = new boolean[122];
static {
jj_mask_13[PLINK] = true;
}
static boolean[] jj_mask_14 = new boolean[122];
static {
jj_mask_14[COLON] = true;
}
final public void property() throws ParseException {
Token t= null;
t = jj_consume_token(P_NAME);
callback.propertyAction(t.image);
jj_consume_token(PCOLON);
value();
label_6:
while (true) {
if (jj_mask_15[getToken(1).kind]) {
;
} else {
jj_expLA1[15] = jj_gen;
break label_6;
}
if (jj_mask_16[getToken(1).kind]) {
jj_consume_token(VCOMMA);
} else {
jj_expLA1[16] = jj_gen;
;
}
value();
}
}
static boolean[] jj_mask_15 = new boolean[122];
static {
jj_mask_15[P_VALUE] =
jj_mask_15[VCOMMA] = true;
}
static boolean[] jj_mask_16 = new boolean[122];
static {
jj_mask_16[VCOMMA] = true;
}
final public void value() throws ParseException {
Token t1= null, t2= null, t3= null, t4=null;
t1 = jj_consume_token(P_VALUE);
if (jj_mask_17[getToken(1).kind]) {
t2 = jj_consume_token(PARENOPEN);
t3 = jj_consume_token(PS_VALUE);
t4 = jj_consume_token(PARENCLOSE);
} else {
jj_expLA1[17] = jj_gen;
;
}
if(t2 != null)
callback.valueAction(t1.image+t2.image+t3.image+t4.image);
else
callback.valueAction(t1.image);
}
static boolean[] jj_mask_17 = new boolean[122];
static {
jj_mask_17[PARENOPEN] = true;
}
final public void tag() throws ParseException {
Token t = null;
if (jj_mask_86[getToken(1).kind]) {
t = jj_consume_token(A);
} else {
jj_expLA1[86] = jj_gen;
if (jj_mask_85[getToken(1).kind]) {
t = jj_consume_token(ADDRESS);
} else {
jj_expLA1[85] = jj_gen;
if (jj_mask_84[getToken(1).kind]) {
t = jj_consume_token(APPLET);
} else {
jj_expLA1[84] = jj_gen;
if (jj_mask_83[getToken(1).kind]) {
t = jj_consume_token(AREA);
} else {
jj_expLA1[83] = jj_gen;
if (jj_mask_82[getToken(1).kind]) {
t = jj_consume_token(B);
} else {
jj_expLA1[82] = jj_gen;
if (jj_mask_81[getToken(1).kind]) {
t = jj_consume_token(BASE);
} else {
jj_expLA1[81] = jj_gen;
if (jj_mask_80[getToken(1).kind]) {
t = jj_consume_token(BASEFONT);
} else {
jj_expLA1[80] = jj_gen;
if (jj_mask_79[getToken(1).kind]) {
t = jj_consume_token(BIG);
} else {
jj_expLA1[79] = jj_gen;
if (jj_mask_78[getToken(1).kind]) {
t = jj_consume_token(BLOCKQUOTE);
} else {
jj_expLA1[78] = jj_gen;
if (jj_mask_77[getToken(1).kind]) {
t = jj_consume_token(BODY);
} else {
jj_expLA1[77] = jj_gen;
if (jj_mask_76[getToken(1).kind]) {
t = jj_consume_token(BR);
} else {
jj_expLA1[76] = jj_gen;
if (jj_mask_75[getToken(1).kind]) {
t = jj_consume_token(CAPTION);
} else {
jj_expLA1[75] = jj_gen;
if (jj_mask_74[getToken(1).kind]) {
t = jj_consume_token(CENTER);
} else {
jj_expLA1[74] = jj_gen;
if (jj_mask_73[getToken(1).kind]) {
t = jj_consume_token(CITE);
} else {
jj_expLA1[73] = jj_gen;
if (jj_mask_72[getToken(1).kind]) {
t = jj_consume_token(CODE);
} else {
jj_expLA1[72] = jj_gen;
if (jj_mask_71[getToken(1).kind]) {
t = jj_consume_token(DD);
} else {
jj_expLA1[71] = jj_gen;
if (jj_mask_70[getToken(1).kind]) {
t = jj_consume_token(DFN);
} else {
jj_expLA1[70] = jj_gen;
if (jj_mask_69[getToken(1).kind]) {
t = jj_consume_token(DIR);
} else {
jj_expLA1[69] = jj_gen;
if (jj_mask_68[getToken(1).kind]) {
t = jj_consume_token(DIV);
} else {
jj_expLA1[68] = jj_gen;
if (jj_mask_67[getToken(1).kind]) {
t = jj_consume_token(DL);
} else {
jj_expLA1[67] = jj_gen;
if (jj_mask_66[getToken(1).kind]) {
t = jj_consume_token(DT);
} else {
jj_expLA1[66] = jj_gen;
if (jj_mask_65[getToken(1).kind]) {
t = jj_consume_token(EM);
} else {
jj_expLA1[65] = jj_gen;
if (jj_mask_64[getToken(1).kind]) {
t = jj_consume_token(FONT);
} else {
jj_expLA1[64] = jj_gen;
if (jj_mask_63[getToken(1).kind]) {
t = jj_consume_token(FORM);
} else {
jj_expLA1[63] = jj_gen;
if (jj_mask_62[getToken(1).kind]) {
t = jj_consume_token(H1);
} else {
jj_expLA1[62] = jj_gen;
if (jj_mask_61[getToken(1).kind]) {
t = jj_consume_token(H2);
} else {
jj_expLA1[61] = jj_gen;
if (jj_mask_60[getToken(1).kind]) {
t = jj_consume_token(H3);
} else {
jj_expLA1[60] = jj_gen;
if (jj_mask_59[getToken(1).kind]) {
t = jj_consume_token(H4);
} else {
jj_expLA1[59] = jj_gen;
if (jj_mask_58[getToken(1).kind]) {
t = jj_consume_token(H5);
} else {
jj_expLA1[58] = jj_gen;
if (jj_mask_57[getToken(1).kind]) {
t = jj_consume_token(H6);
} else {
jj_expLA1[57] = jj_gen;
if (jj_mask_56[getToken(1).kind]) {
t = jj_consume_token(HEAD);
} else {
jj_expLA1[56] = jj_gen;
if (jj_mask_55[getToken(1).kind]) {
t = jj_consume_token(HR);
} else {
jj_expLA1[55] = jj_gen;
if (jj_mask_54[getToken(1).kind]) {
t = jj_consume_token(HTML);
} else {
jj_expLA1[54] = jj_gen;
if (jj_mask_53[getToken(1).kind]) {
t = jj_consume_token(I);
} else {
jj_expLA1[53] = jj_gen;
if (jj_mask_52[getToken(1).kind]) {
t = jj_consume_token(IMG);
} else {
jj_expLA1[52] = jj_gen;
if (jj_mask_51[getToken(1).kind]) {
t = jj_consume_token(INPUT);
} else {
jj_expLA1[51] = jj_gen;
if (jj_mask_50[getToken(1).kind]) {
t = jj_consume_token(ISINDEX);
} else {
jj_expLA1[50] = jj_gen;
if (jj_mask_49[getToken(1).kind]) {
t = jj_consume_token(KBD);
} else {
jj_expLA1[49] = jj_gen;
if (jj_mask_48[getToken(1).kind]) {
t = jj_consume_token(LI);
} else {
jj_expLA1[48] = jj_gen;
if (jj_mask_47[getToken(1).kind]) {
t = jj_consume_token(LINK);
} else {
jj_expLA1[47] = jj_gen;
if (jj_mask_46[getToken(1).kind]) {
t = jj_consume_token(MAP);
} else {
jj_expLA1[46] = jj_gen;
if (jj_mask_45[getToken(1).kind]) {
t = jj_consume_token(MENU);
} else {
jj_expLA1[45] = jj_gen;
if (jj_mask_44[getToken(1).kind]) {
t = jj_consume_token(META);
} else {
jj_expLA1[44] = jj_gen;
if (jj_mask_43[getToken(1).kind]) {
t = jj_consume_token(OL);
} else {
jj_expLA1[43] = jj_gen;
if (jj_mask_42[getToken(1).kind]) {
t = jj_consume_token(OPTION);
} else {
jj_expLA1[42] = jj_gen;
if (jj_mask_41[getToken(1).kind]) {
t = jj_consume_token(P);
} else {
jj_expLA1[41] = jj_gen;
if (jj_mask_40[getToken(1).kind]) {
t = jj_consume_token(PARAM);
} else {
jj_expLA1[40] = jj_gen;
if (jj_mask_39[getToken(1).kind]) {
t = jj_consume_token(PRE);
} else {
jj_expLA1[39] = jj_gen;
if (jj_mask_38[getToken(1).kind]) {
t = jj_consume_token(PROMPT);
} else {
jj_expLA1[38] = jj_gen;
if (jj_mask_37[getToken(1).kind]) {
t = jj_consume_token(SAMP);
} else {
jj_expLA1[37] = jj_gen;
if (jj_mask_36[getToken(1).kind]) {
t = jj_consume_token(SCRIPT);
} else {
jj_expLA1[36] = jj_gen;
if (jj_mask_35[getToken(1).kind]) {
t = jj_consume_token(SELECT);
} else {
jj_expLA1[35] = jj_gen;
if (jj_mask_34[getToken(1).kind]) {
t = jj_consume_token(SMALL);
} else {
jj_expLA1[34] = jj_gen;
if (jj_mask_33[getToken(1).kind]) {
t = jj_consume_token(STRIKE);
} else {
jj_expLA1[33] = jj_gen;
if (jj_mask_32[getToken(1).kind]) {
t = jj_consume_token(STRONG);
} else {
jj_expLA1[32] = jj_gen;
if (jj_mask_31[getToken(1).kind]) {
t = jj_consume_token(STYLE);
} else {
jj_expLA1[31] = jj_gen;
if (jj_mask_30[getToken(1).kind]) {
t = jj_consume_token(SUB);
} else {
jj_expLA1[30] = jj_gen;
if (jj_mask_29[getToken(1).kind]) {
t = jj_consume_token(SUP);
} else {
jj_expLA1[29] = jj_gen;
if (jj_mask_28[getToken(1).kind]) {
t = jj_consume_token(TABLE);
} else {
jj_expLA1[28] = jj_gen;
if (jj_mask_27[getToken(1).kind]) {
t = jj_consume_token(TD);
} else {
jj_expLA1[27] = jj_gen;
if (jj_mask_26[getToken(1).kind]) {
t = jj_consume_token(TEXTAREA);
} else {
jj_expLA1[26] = jj_gen;
if (jj_mask_25[getToken(1).kind]) {
t = jj_consume_token(TH);
} else {
jj_expLA1[25] = jj_gen;
if (jj_mask_24[getToken(1).kind]) {
t = jj_consume_token(TITLE);
} else {
jj_expLA1[24] = jj_gen;
if (jj_mask_23[getToken(1).kind]) {
t = jj_consume_token(TR);
} else {
jj_expLA1[23] = jj_gen;
if (jj_mask_22[getToken(1).kind]) {
t = jj_consume_token(TT);
} else {
jj_expLA1[22] = jj_gen;
if (jj_mask_21[getToken(1).kind]) {
t = jj_consume_token(U);
} else {
jj_expLA1[21] = jj_gen;
if (jj_mask_20[getToken(1).kind]) {
t = jj_consume_token(UL);
} else {
jj_expLA1[20] = jj_gen;
if (jj_mask_19[getToken(1).kind]) {
t = jj_consume_token(VAR);
} else {
jj_expLA1[19] = jj_gen;
if (jj_mask_18[getToken(1).kind]) {
t = jj_consume_token(UNKNOWN);
} else {
jj_expLA1[18] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
callback.tagAction(t.image);
}
static boolean[] jj_mask_18 = new boolean[122];
static {
jj_mask_18[UNKNOWN] = true;
}
static boolean[] jj_mask_19 = new boolean[122];
static {
jj_mask_19[VAR] = true;
}
static boolean[] jj_mask_20 = new boolean[122];
static {
jj_mask_20[UL] = true;
}
static boolean[] jj_mask_21 = new boolean[122];
static {
jj_mask_21[U] = true;
}
static boolean[] jj_mask_22 = new boolean[122];
static {
jj_mask_22[TT] = true;
}
static boolean[] jj_mask_23 = new boolean[122];
static {
jj_mask_23[TR] = true;
}
static boolean[] jj_mask_24 = new boolean[122];
static {
jj_mask_24[TITLE] = true;
}
static boolean[] jj_mask_25 = new boolean[122];
static {
jj_mask_25[TH] = true;
}
static boolean[] jj_mask_26 = new boolean[122];
static {
jj_mask_26[TEXTAREA] = true;
}
static boolean[] jj_mask_27 = new boolean[122];
static {
jj_mask_27[TD] = true;
}
static boolean[] jj_mask_28 = new boolean[122];
static {
jj_mask_28[TABLE] = true;
}
static boolean[] jj_mask_29 = new boolean[122];
static {
jj_mask_29[SUP] = true;
}
static boolean[] jj_mask_30 = new boolean[122];
static {
jj_mask_30[SUB] = true;
}
static boolean[] jj_mask_31 = new boolean[122];
static {
jj_mask_31[STYLE] = true;
}
static boolean[] jj_mask_32 = new boolean[122];
static {
jj_mask_32[STRONG] = true;
}
static boolean[] jj_mask_33 = new boolean[122];
static {
jj_mask_33[STRIKE] = true;
}
static boolean[] jj_mask_34 = new boolean[122];
static {
jj_mask_34[SMALL] = true;
}
static boolean[] jj_mask_35 = new boolean[122];
static {
jj_mask_35[SELECT] = true;
}
static boolean[] jj_mask_36 = new boolean[122];
static {
jj_mask_36[SCRIPT] = true;
}
static boolean[] jj_mask_37 = new boolean[122];
static {
jj_mask_37[SAMP] = true;
}
static boolean[] jj_mask_38 = new boolean[122];
static {
jj_mask_38[PROMPT] = true;
}
static boolean[] jj_mask_39 = new boolean[122];
static {
jj_mask_39[PRE] = true;
}
static boolean[] jj_mask_40 = new boolean[122];
static {
jj_mask_40[PARAM] = true;
}
static boolean[] jj_mask_41 = new boolean[122];
static {
jj_mask_41[P] = true;
}
static boolean[] jj_mask_42 = new boolean[122];
static {
jj_mask_42[OPTION] = true;
}
static boolean[] jj_mask_43 = new boolean[122];
static {
jj_mask_43[OL] = true;
}
static boolean[] jj_mask_44 = new boolean[122];
static {
jj_mask_44[META] = true;
}
static boolean[] jj_mask_45 = new boolean[122];
static {
jj_mask_45[MENU] = true;
}
static boolean[] jj_mask_46 = new boolean[122];
static {
jj_mask_46[MAP] = true;
}
static boolean[] jj_mask_47 = new boolean[122];
static {
jj_mask_47[LINK] = true;
}
static boolean[] jj_mask_48 = new boolean[122];
static {
jj_mask_48[LI] = true;
}
static boolean[] jj_mask_49 = new boolean[122];
static {
jj_mask_49[KBD] = true;
}
static boolean[] jj_mask_50 = new boolean[122];
static {
jj_mask_50[ISINDEX] = true;
}
static boolean[] jj_mask_51 = new boolean[122];
static {
jj_mask_51[INPUT] = true;
}
static boolean[] jj_mask_52 = new boolean[122];
static {
jj_mask_52[IMG] = true;
}
static boolean[] jj_mask_53 = new boolean[122];
static {
jj_mask_53[I] = true;
}
static boolean[] jj_mask_54 = new boolean[122];
static {
jj_mask_54[HTML] = true;
}
static boolean[] jj_mask_55 = new boolean[122];
static {
jj_mask_55[HR] = true;
}
static boolean[] jj_mask_56 = new boolean[122];
static {
jj_mask_56[HEAD] = true;
}
static boolean[] jj_mask_57 = new boolean[122];
static {
jj_mask_57[H6] = true;
}
static boolean[] jj_mask_58 = new boolean[122];
static {
jj_mask_58[H5] = true;
}
static boolean[] jj_mask_59 = new boolean[122];
static {
jj_mask_59[H4] = true;
}
static boolean[] jj_mask_60 = new boolean[122];
static {
jj_mask_60[H3] = true;
}
static boolean[] jj_mask_61 = new boolean[122];
static {
jj_mask_61[H2] = true;
}
static boolean[] jj_mask_62 = new boolean[122];
static {
jj_mask_62[H1] = true;
}
static boolean[] jj_mask_63 = new boolean[122];
static {
jj_mask_63[FORM] = true;
}
static boolean[] jj_mask_64 = new boolean[122];
static {
jj_mask_64[FONT] = true;
}
static boolean[] jj_mask_65 = new boolean[122];
static {
jj_mask_65[EM] = true;
}
static boolean[] jj_mask_66 = new boolean[122];
static {
jj_mask_66[DT] = true;
}
static boolean[] jj_mask_67 = new boolean[122];
static {
jj_mask_67[DL] = true;
}
static boolean[] jj_mask_68 = new boolean[122];
static {
jj_mask_68[DIV] = true;
}
static boolean[] jj_mask_69 = new boolean[122];
static {
jj_mask_69[DIR] = true;
}
static boolean[] jj_mask_70 = new boolean[122];
static {
jj_mask_70[DFN] = true;
}
static boolean[] jj_mask_71 = new boolean[122];
static {
jj_mask_71[DD] = true;
}
static boolean[] jj_mask_72 = new boolean[122];
static {
jj_mask_72[CODE] = true;
}
static boolean[] jj_mask_73 = new boolean[122];
static {
jj_mask_73[CITE] = true;
}
static boolean[] jj_mask_74 = new boolean[122];
static {
jj_mask_74[CENTER] = true;
}
static boolean[] jj_mask_75 = new boolean[122];
static {
jj_mask_75[CAPTION] = true;
}
static boolean[] jj_mask_76 = new boolean[122];
static {
jj_mask_76[BR] = true;
}
static boolean[] jj_mask_77 = new boolean[122];
static {
jj_mask_77[BODY] = true;
}
static boolean[] jj_mask_78 = new boolean[122];
static {
jj_mask_78[BLOCKQUOTE] = true;
}
static boolean[] jj_mask_79 = new boolean[122];
static {
jj_mask_79[BIG] = true;
}
static boolean[] jj_mask_80 = new boolean[122];
static {
jj_mask_80[BASEFONT] = true;
}
static boolean[] jj_mask_81 = new boolean[122];
static {
jj_mask_81[BASE] = true;
}
static boolean[] jj_mask_82 = new boolean[122];
static {
jj_mask_82[B] = true;
}
static boolean[] jj_mask_83 = new boolean[122];
static {
jj_mask_83[AREA] = true;
}
static boolean[] jj_mask_84 = new boolean[122];
static {
jj_mask_84[APPLET] = true;
}
static boolean[] jj_mask_85 = new boolean[122];
static {
jj_mask_85[ADDRESS] = true;
}
static boolean[] jj_mask_86 = new boolean[122];
static {
jj_mask_86[A] = true;
}
final private boolean jj_2_1(int xla) {
jj_la = xla; jj_lastpos = jj_scanpos = token;
boolean retval = !jj_3_1();
jj_save(0, xla);
return retval;
}
final private boolean jj_3R_52() {
if (jj_scan_token(OPTION)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_32() {
if (jj_scan_token(H1)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_42() {
if (jj_scan_token(IMG)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_23() {
if (jj_scan_token(DD)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_16() {
if (jj_scan_token(BLOCKQUOTE)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_60() {
if (jj_scan_token(SMALL)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_9() {
if (jj_scan_token(ADDRESS)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_68() {
if (jj_scan_token(TEXTAREA)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_51() {
if (jj_scan_token(OL)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_41() {
if (jj_scan_token(I)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_31() {
if (jj_scan_token(FORM)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_22() {
if (jj_scan_token(CODE)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_15() {
if (jj_scan_token(BIG)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_8() {
if (jj_scan_token(A)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_7() {
Token xsp;
xsp = jj_scanpos;
if (jj_3R_8()) {
jj_scanpos = xsp;
if (jj_3R_9()) {
jj_scanpos = xsp;
if (jj_3R_10()) {
jj_scanpos = xsp;
if (jj_3R_11()) {
jj_scanpos = xsp;
if (jj_3R_12()) {
jj_scanpos = xsp;
if (jj_3R_13()) {
jj_scanpos = xsp;
if (jj_3R_14()) {
jj_scanpos = xsp;
if (jj_3R_15()) {
jj_scanpos = xsp;
if (jj_3R_16()) {
jj_scanpos = xsp;
if (jj_3R_17()) {
jj_scanpos = xsp;
if (jj_3R_18()) {
jj_scanpos = xsp;
if (jj_3R_19()) {
jj_scanpos = xsp;
if (jj_3R_20()) {
jj_scanpos = xsp;
if (jj_3R_21()) {
jj_scanpos = xsp;
if (jj_3R_22()) {
jj_scanpos = xsp;
if (jj_3R_23()) {
jj_scanpos = xsp;
if (jj_3R_24()) {
jj_scanpos = xsp;
if (jj_3R_25()) {
jj_scanpos = xsp;
if (jj_3R_26()) {
jj_scanpos = xsp;
if (jj_3R_27()) {
jj_scanpos = xsp;
if (jj_3R_28()) {
jj_scanpos = xsp;
if (jj_3R_29()) {
jj_scanpos = xsp;
if (jj_3R_30()) {
jj_scanpos = xsp;
if (jj_3R_31()) {
jj_scanpos = xsp;
if (jj_3R_32()) {
jj_scanpos = xsp;
if (jj_3R_33()) {
jj_scanpos = xsp;
if (jj_3R_34()) {
jj_scanpos = xsp;
if (jj_3R_35()) {
jj_scanpos = xsp;
if (jj_3R_36()) {
jj_scanpos = xsp;
if (jj_3R_37()) {
jj_scanpos = xsp;
if (jj_3R_38()) {
jj_scanpos = xsp;
if (jj_3R_39()) {
jj_scanpos = xsp;
if (jj_3R_40()) {
jj_scanpos = xsp;
if (jj_3R_41()) {
jj_scanpos = xsp;
if (jj_3R_42()) {
jj_scanpos = xsp;
if (jj_3R_43()) {
jj_scanpos = xsp;
if (jj_3R_44()) {
jj_scanpos = xsp;
if (jj_3R_45()) {
jj_scanpos = xsp;
if (jj_3R_46()) {
jj_scanpos = xsp;
if (jj_3R_47()) {
jj_scanpos = xsp;
if (jj_3R_48()) {
jj_scanpos = xsp;
if (jj_3R_49()) {
jj_scanpos = xsp;
if (jj_3R_50()) {
jj_scanpos = xsp;
if (jj_3R_51()) {
jj_scanpos = xsp;
if (jj_3R_52()) {
jj_scanpos = xsp;
if (jj_3R_53()) {
jj_scanpos = xsp;
if (jj_3R_54()) {
jj_scanpos = xsp;
if (jj_3R_55()) {
jj_scanpos = xsp;
if (jj_3R_56()) {
jj_scanpos = xsp;
if (jj_3R_57()) {
jj_scanpos = xsp;
if (jj_3R_58()) {
jj_scanpos = xsp;
if (jj_3R_59()) {
jj_scanpos = xsp;
if (jj_3R_60()) {
jj_scanpos = xsp;
if (jj_3R_61()) {
jj_scanpos = xsp;
if (jj_3R_62()) {
jj_scanpos = xsp;
if (jj_3R_63()) {
jj_scanpos = xsp;
if (jj_3R_64()) {
jj_scanpos = xsp;
if (jj_3R_65()) {
jj_scanpos = xsp;
if (jj_3R_66()) {
jj_scanpos = xsp;
if (jj_3R_67()) {
jj_scanpos = xsp;
if (jj_3R_68()) {
jj_scanpos = xsp;
if (jj_3R_69()) {
jj_scanpos = xsp;
if (jj_3R_70()) {
jj_scanpos = xsp;
if (jj_3R_71()) {
jj_scanpos = xsp;
if (jj_3R_72()) {
jj_scanpos = xsp;
if (jj_3R_73()) {
jj_scanpos = xsp;
if (jj_3R_74()) {
jj_scanpos = xsp;
if (jj_3R_75()) {
jj_scanpos = xsp;
if (jj_3R_76()) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_67() {
if (jj_scan_token(TD)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_49() {
if (jj_scan_token(MENU)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_59() {
if (jj_scan_token(SELECT)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_76() {
if (jj_scan_token(UNKNOWN)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_50() {
if (jj_scan_token(META)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_40() {
if (jj_scan_token(HTML)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_30() {
if (jj_scan_token(FONT)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_39() {
if (jj_scan_token(HR)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_58() {
if (jj_scan_token(SCRIPT)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_48() {
if (jj_scan_token(MAP)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_21() {
if (jj_scan_token(CITE)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_66() {
if (jj_scan_token(TABLE)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_75() {
if (jj_scan_token(VAR)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_29() {
if (jj_scan_token(EM)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_38() {
if (jj_scan_token(HEAD)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_57() {
if (jj_scan_token(SAMP)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_14() {
if (jj_scan_token(BASEFONT)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_74() {
if (jj_scan_token(UL)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_65() {
if (jj_scan_token(SUP)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_47() {
if (jj_scan_token(LINK)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_28() {
if (jj_scan_token(DT)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_20() {
if (jj_scan_token(CENTER)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_37() {
if (jj_scan_token(H6)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_73() {
if (jj_scan_token(U)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_46() {
if (jj_scan_token(LI)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_64() {
if (jj_scan_token(SUB)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_56() {
if (jj_scan_token(PROMPT)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_13() {
if (jj_scan_token(BASE)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_27() {
if (jj_scan_token(DL)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_36() {
if (jj_scan_token(H5)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_72() {
if (jj_scan_token(TT)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_19() {
if (jj_scan_token(CAPTION)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_45() {
if (jj_scan_token(KBD)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_55() {
if (jj_scan_token(PRE)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_12() {
if (jj_scan_token(B)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_63() {
if (jj_scan_token(STYLE)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_26() {
if (jj_scan_token(DIV)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_35() {
if (jj_scan_token(H4)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_71() {
if (jj_scan_token(TR)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3_1() {
if (jj_3R_7()) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
if (jj_scan_token(DOT)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_18() {
if (jj_scan_token(BR)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_54() {
if (jj_scan_token(PARAM)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_11() {
if (jj_scan_token(AREA)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_44() {
if (jj_scan_token(ISINDEX)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_34() {
if (jj_scan_token(H3)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_25() {
if (jj_scan_token(DIR)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_62() {
if (jj_scan_token(STRONG)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_70() {
if (jj_scan_token(TITLE)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_17() {
if (jj_scan_token(BODY)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_53() {
if (jj_scan_token(P)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_33() {
if (jj_scan_token(H2)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_43() {
if (jj_scan_token(INPUT)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_24() {
if (jj_scan_token(DFN)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_10() {
if (jj_scan_token(APPLET)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_69() {
if (jj_scan_token(TH)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
final private boolean jj_3R_61() {
if (jj_scan_token(STRIKE)) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
return false;
}
public style32TokenManager token_source;
public Token token;
private Token jj_scanpos, jj_lastpos;
private int jj_la;
public boolean lookingAhead = false;
private boolean jj_semLA;
private int jj_gen;
private int[] jj_expLA1 = new int[87];
private JJstyle32Calls[] jj_2_rtns = new JJstyle32Calls[1];
private boolean jj_rescan = false;
public style32(CharStream stream) {
token_source = new style32TokenManager(stream);
token = new Token();
jj_gen = 0;
for (int i = 0; i < 87; i++) jj_expLA1[i] = -1;
for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJstyle32Calls();
}
public void ReInit(CharStream stream) {
token_source.ReInit(stream);
token = new Token();
jj_gen = 0;
for (int i = 0; i < 87; i++) jj_expLA1[i] = -1;
for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJstyle32Calls();
}
public style32(style32TokenManager tm) {
token_source = tm;
token = new Token();
jj_gen = 0;
for (int i = 0; i < 87; i++) jj_expLA1[i] = -1;
for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJstyle32Calls();
}
public void ReInit(style32TokenManager tm) {
token_source = tm;
token = new Token();
jj_gen = 0;
for (int i = 0; i < 87; i++) jj_expLA1[i] = -1;
for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJstyle32Calls();
}
final private Token jj_consume_token(int kind) throws ParseException {
Token oldToken;
if ((oldToken = token).next != null) token = token.next;
else token = token.next = token_source.getNextToken();
if (token.kind == kind) {
jj_gen++;
return token;
}
token = oldToken;
jj_kind = kind;
throw generateParseException();
}
final private boolean jj_scan_token(int kind) {
if (jj_scanpos == jj_lastpos) {
jj_la--;
if (jj_scanpos.next == null) {
jj_lastpos = jj_scanpos = jj_scanpos.next = token_source.getNextToken();
} else {
jj_lastpos = jj_scanpos = jj_scanpos.next;
}
} else {
jj_scanpos = jj_scanpos.next;
}
if (jj_rescan) {
int i = 0; Token tok = token;
while (tok != null && tok != jj_scanpos) { i++; tok = tok.next; }
if (tok != null) jj_add_error_token(kind, i);
}
return (jj_scanpos.kind != kind);
}
final public Token getNextToken() {
if (token.next != null) token = token.next;
else token = token.next = token_source.getNextToken();
jj_gen++;
return token;
}
final public Token getToken(int index) {
Token t = lookingAhead ? jj_scanpos : token;
for (int i = 0; i < index; i++) {
if (t.next != null) t = t.next;
else t = t.next = token_source.getNextToken();
}
return t;
}
private java.util.Vector jj_expentries = new java.util.Vector();
private int[] jj_expentry;
private int jj_kind = -1;
private int[] jj_lasttokens = new int[100];
private int jj_endpos;
private void jj_add_error_token(int kind, int pos) {
if (pos >= 100) return;
if (pos == jj_endpos + 1) {
jj_lasttokens[jj_endpos++] = kind;
} else if (jj_endpos != 0) {
jj_expentry = new int[jj_endpos];
for (int i = 0; i < jj_endpos; i++) {
jj_expentry[i] = jj_lasttokens[i];
}
boolean exists = false;
for (java.util.Enumeration enum = jj_expentries.elements(); enum.hasMoreElements();) {
int[] oldentry = (int[])(enum.nextElement());
if (oldentry.length == jj_expentry.length) {
exists = true;
for (int i = 0; i < jj_expentry.length; i++) {
if (oldentry[i] != jj_expentry[i]) {
exists = false;
break;
}
}
}
}
if (!exists) jj_expentries.addElement(jj_expentry);
if (pos != 0) jj_lasttokens[(jj_endpos = pos) - 1] = kind;
}
}
final public ParseException generateParseException() {
jj_expentries.removeAllElements();
boolean[] la1tokens = new boolean[122];
boolean[] mask = null;
for (int i = 0; i < 122; i++) {
la1tokens[i] = false;
}
if (jj_kind >= 0) {
la1tokens[jj_kind] = true;
jj_kind = -1;
}
for (int i = 0; i < 87; i++) {
if (jj_expLA1[i] == jj_gen) {
switch (i) {
case 0: mask = jj_mask_0; break;
case 1: mask = jj_mask_1; break;
case 2: mask = jj_mask_2; break;
case 3: mask = jj_mask_3; break;
case 4: mask = jj_mask_4; break;
case 5: mask = jj_mask_5; break;
case 6: mask = jj_mask_6; break;
case 7: mask = jj_mask_7; break;
case 8: mask = jj_mask_8; break;
case 9: mask = jj_mask_9; break;
case 10: mask = jj_mask_10; break;
case 11: mask = jj_mask_11; break;
case 12: mask = jj_mask_12; break;
case 13: mask = jj_mask_13; break;
case 14: mask = jj_mask_14; break;
case 15: mask = jj_mask_15; break;
case 16: mask = jj_mask_16; break;
case 17: mask = jj_mask_17; break;
case 18: mask = jj_mask_18; break;
case 19: mask = jj_mask_19; break;
case 20: mask = jj_mask_20; break;
case 21: mask = jj_mask_21; break;
case 22: mask = jj_mask_22; break;
case 23: mask = jj_mask_23; break;
case 24: mask = jj_mask_24; break;
case 25: mask = jj_mask_25; break;
case 26: mask = jj_mask_26; break;
case 27: mask = jj_mask_27; break;
case 28: mask = jj_mask_28; break;
case 29: mask = jj_mask_29; break;
case 30: mask = jj_mask_30; break;
case 31: mask = jj_mask_31; break;
case 32: mask = jj_mask_32; break;
case 33: mask = jj_mask_33; break;
case 34: mask = jj_mask_34; break;
case 35: mask = jj_mask_35; break;
case 36: mask = jj_mask_36; break;
case 37: mask = jj_mask_37; break;
case 38: mask = jj_mask_38; break;
case 39: mask = jj_mask_39; break;
case 40: mask = jj_mask_40; break;
case 41: mask = jj_mask_41; break;
case 42: mask = jj_mask_42; break;
case 43: mask = jj_mask_43; break;
case 44: mask = jj_mask_44; break;
case 45: mask = jj_mask_45; break;
case 46: mask = jj_mask_46; break;
case 47: mask = jj_mask_47; break;
case 48: mask = jj_mask_48; break;
case 49: mask = jj_mask_49; break;
case 50: mask = jj_mask_50; break;
case 51: mask = jj_mask_51; break;
case 52: mask = jj_mask_52; break;
case 53: mask = jj_mask_53; break;
case 54: mask = jj_mask_54; break;
case 55: mask = jj_mask_55; break;
case 56: mask = jj_mask_56; break;
case 57: mask = jj_mask_57; break;
case 58: mask = jj_mask_58; break;
case 59: mask = jj_mask_59; break;
case 60: mask = jj_mask_60; break;
case 61: mask = jj_mask_61; break;
case 62: mask = jj_mask_62; break;
case 63: mask = jj_mask_63; break;
case 64: mask = jj_mask_64; break;
case 65: mask = jj_mask_65; break;
case 66: mask = jj_mask_66; break;
case 67: mask = jj_mask_67; break;
case 68: mask = jj_mask_68; break;
case 69: mask = jj_mask_69; break;
case 70: mask = jj_mask_70; break;
case 71: mask = jj_mask_71; break;
case 72: mask = jj_mask_72; break;
case 73: mask = jj_mask_73; break;
case 74: mask = jj_mask_74; break;
case 75: mask = jj_mask_75; break;
case 76: mask = jj_mask_76; break;
case 77: mask = jj_mask_77; break;
case 78: mask = jj_mask_78; break;
case 79: mask = jj_mask_79; break;
case 80: mask = jj_mask_80; break;
case 81: mask = jj_mask_81; break;
case 82: mask = jj_mask_82; break;
case 83: mask = jj_mask_83; break;
case 84: mask = jj_mask_84; break;
case 85: mask = jj_mask_85; break;
case 86: mask = jj_mask_86; break;
}
for (int j = 0; j < 122; j++) {
if (mask[j]) la1tokens[j] = true;
}
}
}
for (int i = 0; i < 122; i++) {
if (la1tokens[i]) {
jj_expentry = new int[1];
jj_expentry[0] = i;
jj_expentries.addElement(jj_expentry);
}
}
jj_endpos = 0;
jj_rescan_token();
jj_add_error_token(0, 0);
int[][] exptokseq = new int[jj_expentries.size()][];
for (int i = 0; i < jj_expentries.size(); i++) {
exptokseq[i] = (int[])jj_expentries.elementAt(i);
}
return new ParseException(token, exptokseq, tokenImage);
}
final public void enable_tracing() {
}
final public void disable_tracing() {
}
private void jj_rescan_token() {
jj_rescan = true;
for (int i = 0; i < 1; i++) {
JJstyle32Calls p = jj_2_rtns[i];
do {
if (p.gen > jj_gen) {
jj_la = p.arg; jj_lastpos = jj_scanpos = p.first;
switch (i) {
case 0: jj_3_1(); break;
}
}
p = p.next;
} while (p != null);
}
jj_rescan = false;
}
private void jj_save(int index, int xla) {
JJstyle32Calls p = jj_2_rtns[index];
while (p.gen > jj_gen) {
if (p.next == null) { p = p.next = new JJstyle32Calls(); break; }
p = p.next;
}
p.gen = jj_gen + xla - jj_la; p.first = token; p.arg = xla;
}
}
class JJstyle32Calls {
int gen;
Token first;
int arg;
JJstyle32Calls next;
}