📄 htmlparser.c
字号:
static const int END_SMALL;static const int END_STRIKE;static const int END_STRONG;static const int END_STYLE;static const int END_SUB;static const int END_SUP;static const int END_TABLE;static const int END_TD;static const int END_TEXTAREA;static const int END_TH;static const int END_TITLE;static const int END_TR;static const int END_TT;static const int END_U;static const int END_UL;static const int END_VAR;#line 254 "/usr/local/lib/bison.cc" /* decl const */public: int YY_HTMLParser_PARSE (YY_HTMLParser_PARSE_PARAM); virtual void YY_HTMLParser_ERROR(char *msg) YY_HTMLParser_ERROR_BODY;#ifdef YY_HTMLParser_PURE#ifdef YY_HTMLParser_LSP_NEEDED virtual int YY_HTMLParser_LEX (YY_HTMLParser_STYPE *YY_HTMLParser_LVAL,YY_HTMLParser_LTYPE *YY_HTMLParser_LLOC) YY_HTMLParser_LEX_BODY;#else virtual int YY_HTMLParser_LEX (YY_HTMLParser_STYPE *YY_HTMLParser_LVAL) YY_HTMLParser_LEX_BODY;#endif#else virtual int YY_HTMLParser_LEX() YY_HTMLParser_LEX_BODY; YY_HTMLParser_STYPE YY_HTMLParser_LVAL;#ifdef YY_HTMLParser_LSP_NEEDED YY_HTMLParser_LTYPE YY_HTMLParser_LLOC;#endif int YY_HTMLParser_NERRS; int YY_HTMLParser_CHAR;#endif#if YY_HTMLParser_DEBUG != 0 int YY_HTMLParser_DEBUG_FLAG; /* nonzero means print parse trace */#endifpublic: YY_HTMLParser_CLASS(YY_HTMLParser_CONSTRUCTOR_PARAM);public: YY_HTMLParser_MEMBERS };/* other declare folow *//* #line 282 "/usr/local/lib/bison.cc" */const int YY_HTMLParser_CLASS::DOCTYPE=258;const int YY_HTMLParser_CLASS::PCDATA=259;const int YY_HTMLParser_CLASS::SCAN_ERROR=260;const int YY_HTMLParser_CLASS::A=261;const int YY_HTMLParser_CLASS::ADDRESS=262;const int YY_HTMLParser_CLASS::APPLET=263;const int YY_HTMLParser_CLASS::AREA=264;const int YY_HTMLParser_CLASS::B=265;const int YY_HTMLParser_CLASS::BASE=266;const int YY_HTMLParser_CLASS::BASEFONT=267;const int YY_HTMLParser_CLASS::BIG=268;const int YY_HTMLParser_CLASS::BLOCKQUOTE=269;const int YY_HTMLParser_CLASS::BODY=270;const int YY_HTMLParser_CLASS::BR=271;const int YY_HTMLParser_CLASS::CAPTION=272;const int YY_HTMLParser_CLASS::CENTER=273;const int YY_HTMLParser_CLASS::CITE=274;const int YY_HTMLParser_CLASS::CODE=275;const int YY_HTMLParser_CLASS::DD=276;const int YY_HTMLParser_CLASS::DFN=277;const int YY_HTMLParser_CLASS::DIR=278;const int YY_HTMLParser_CLASS::DIV=279;const int YY_HTMLParser_CLASS::DL=280;const int YY_HTMLParser_CLASS::DT=281;const int YY_HTMLParser_CLASS::EM=282;const int YY_HTMLParser_CLASS::FONT=283;const int YY_HTMLParser_CLASS::FORM=284;const int YY_HTMLParser_CLASS::H1=285;const int YY_HTMLParser_CLASS::H2=286;const int YY_HTMLParser_CLASS::H3=287;const int YY_HTMLParser_CLASS::H4=288;const int YY_HTMLParser_CLASS::H5=289;const int YY_HTMLParser_CLASS::H6=290;const int YY_HTMLParser_CLASS::HEAD=291;const int YY_HTMLParser_CLASS::HR=292;const int YY_HTMLParser_CLASS::HTML=293;const int YY_HTMLParser_CLASS::I=294;const int YY_HTMLParser_CLASS::IMG=295;const int YY_HTMLParser_CLASS::INPUT=296;const int YY_HTMLParser_CLASS::ISINDEX=297;const int YY_HTMLParser_CLASS::KBD=298;const int YY_HTMLParser_CLASS::LI=299;const int YY_HTMLParser_CLASS::LINK=300;const int YY_HTMLParser_CLASS::MAP=301;const int YY_HTMLParser_CLASS::MENU=302;const int YY_HTMLParser_CLASS::META=303;const int YY_HTMLParser_CLASS::NOBR=304;const int YY_HTMLParser_CLASS::OL=305;const int YY_HTMLParser_CLASS::OPTION=306;const int YY_HTMLParser_CLASS::P=307;const int YY_HTMLParser_CLASS::PARAM=308;const int YY_HTMLParser_CLASS::PRE=309;const int YY_HTMLParser_CLASS::SAMP=310;const int YY_HTMLParser_CLASS::SCRIPT=311;const int YY_HTMLParser_CLASS::SELECT=312;const int YY_HTMLParser_CLASS::SMALL=313;const int YY_HTMLParser_CLASS::STRIKE=314;const int YY_HTMLParser_CLASS::STRONG=315;const int YY_HTMLParser_CLASS::STYLE=316;const int YY_HTMLParser_CLASS::SUB=317;const int YY_HTMLParser_CLASS::SUP=318;const int YY_HTMLParser_CLASS::TABLE=319;const int YY_HTMLParser_CLASS::TD=320;const int YY_HTMLParser_CLASS::TEXTAREA=321;const int YY_HTMLParser_CLASS::TH=322;const int YY_HTMLParser_CLASS::TITLE=323;const int YY_HTMLParser_CLASS::TR=324;const int YY_HTMLParser_CLASS::TT=325;const int YY_HTMLParser_CLASS::U=326;const int YY_HTMLParser_CLASS::UL=327;const int YY_HTMLParser_CLASS::VAR=328;const int YY_HTMLParser_CLASS::END_A=329;const int YY_HTMLParser_CLASS::END_ADDRESS=330;const int YY_HTMLParser_CLASS::END_APPLET=331;const int YY_HTMLParser_CLASS::END_B=332;const int YY_HTMLParser_CLASS::END_BIG=333;const int YY_HTMLParser_CLASS::END_BLOCKQUOTE=334;const int YY_HTMLParser_CLASS::END_BODY=335;const int YY_HTMLParser_CLASS::END_CAPTION=336;const int YY_HTMLParser_CLASS::END_CENTER=337;const int YY_HTMLParser_CLASS::END_CITE=338;const int YY_HTMLParser_CLASS::END_CODE=339;const int YY_HTMLParser_CLASS::END_DD=340;const int YY_HTMLParser_CLASS::END_DFN=341;const int YY_HTMLParser_CLASS::END_DIR=342;const int YY_HTMLParser_CLASS::END_DIV=343;const int YY_HTMLParser_CLASS::END_DL=344;const int YY_HTMLParser_CLASS::END_DT=345;const int YY_HTMLParser_CLASS::END_EM=346;const int YY_HTMLParser_CLASS::END_FONT=347;const int YY_HTMLParser_CLASS::END_FORM=348;const int YY_HTMLParser_CLASS::END_H1=349;const int YY_HTMLParser_CLASS::END_H2=350;const int YY_HTMLParser_CLASS::END_H3=351;const int YY_HTMLParser_CLASS::END_H4=352;const int YY_HTMLParser_CLASS::END_H5=353;const int YY_HTMLParser_CLASS::END_H6=354;const int YY_HTMLParser_CLASS::END_HEAD=355;const int YY_HTMLParser_CLASS::END_HTML=356;const int YY_HTMLParser_CLASS::END_I=357;const int YY_HTMLParser_CLASS::END_KBD=358;const int YY_HTMLParser_CLASS::END_LI=359;const int YY_HTMLParser_CLASS::END_MAP=360;const int YY_HTMLParser_CLASS::END_MENU=361;const int YY_HTMLParser_CLASS::END_NOBR=362;const int YY_HTMLParser_CLASS::END_OL=363;const int YY_HTMLParser_CLASS::END_OPTION=364;const int YY_HTMLParser_CLASS::END_P=365;const int YY_HTMLParser_CLASS::END_PRE=366;const int YY_HTMLParser_CLASS::END_SAMP=367;const int YY_HTMLParser_CLASS::END_SCRIPT=368;const int YY_HTMLParser_CLASS::END_SELECT=369;const int YY_HTMLParser_CLASS::END_SMALL=370;const int YY_HTMLParser_CLASS::END_STRIKE=371;const int YY_HTMLParser_CLASS::END_STRONG=372;const int YY_HTMLParser_CLASS::END_STYLE=373;const int YY_HTMLParser_CLASS::END_SUB=374;const int YY_HTMLParser_CLASS::END_SUP=375;const int YY_HTMLParser_CLASS::END_TABLE=376;const int YY_HTMLParser_CLASS::END_TD=377;const int YY_HTMLParser_CLASS::END_TEXTAREA=378;const int YY_HTMLParser_CLASS::END_TH=379;const int YY_HTMLParser_CLASS::END_TITLE=380;const int YY_HTMLParser_CLASS::END_TR=381;const int YY_HTMLParser_CLASS::END_TT=382;const int YY_HTMLParser_CLASS::END_U=383;const int YY_HTMLParser_CLASS::END_UL=384;const int YY_HTMLParser_CLASS::END_VAR=385;#line 282 "/usr/local/lib/bison.cc" /* const YY_HTMLParser_CLASS::token *//*apres const */YY_HTMLParser_CLASS::YY_HTMLParser_CLASS(YY_HTMLParser_CONSTRUCTOR_PARAM) YY_HTMLParser_CONSTRUCTOR_INIT{#if YY_HTMLParser_DEBUG != 0YY_HTMLParser_DEBUG_FLAG=0;#endifYY_HTMLParser_CONSTRUCTOR_CODE;};#endif/* #line 292 "/usr/local/lib/bison.cc" */#define YYFINAL 279#define YYFLAG -32768#define YYNTBASE 131#define YYTRANSLATE(x) ((unsigned)(x) <= 385 ? yytranslate[x] : 204)static const short yytranslate[] = { 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130};#if YY_HTMLParser_DEBUG != 0static const short yyprhs[] = { 0, 0, 2, 3, 6, 9, 12, 15, 18, 21, 26, 29, 32, 35, 38, 41, 44, 47, 50, 53, 56, 59, 62, 64, 65, 68, 71, 74, 77, 80, 84, 86, 90, 91, 94, 97, 100, 102, 104, 106, 110, 114, 118, 122, 124, 129, 130, 135, 136, 141, 142, 147, 148, 153, 154, 157, 160, 164, 166, 168, 174, 180, 181, 183, 186, 189, 193, 199, 203, 209, 211, 214, 217, 219, 221, 223, 227, 231, 232, 235, 240, 241, 244, 249, 255, 258, 262, 264, 267, 270, 273, 276, 279, 282, 287, 291, 295, 299, 303, 307, 311, 315, 319, 323, 327, 331, 335, 339, 343, 347, 351, 355, 360, 362, 366, 370, 372, 374, 378, 379, 382, 385, 386, 389, 392, 394, 398, 402, 404, 407, 411, 413, 415, 417, 419, 421, 423, 425, 427, 429, 431, 433, 435, 436, 438, 439, 441, 442, 444, 445, 447, 448, 450, 451, 453, 454, 456, 457, 459, 460, 462, 463, 465, 466, 468, 469, 471, 472, 474, 475, 477, 478, 480, 481, 483, 484, 486, 487, 489, 490, 492, 493, 495, 496, 498, 499, 501, 502, 504, 505, 507, 508, 510, 511, 513, 514, 516, 517, 519, 520, 522, 523, 525, 526, 528, 529, 531, 532, 534, 535, 537, 538};#endifstatic const short yyrhs[] = { 132, 0, 0, 132, 1, 0, 132, 3, 0, 132, 38, 0, 132, 101, 0, 132, 36, 0, 132, 100, 0, 132, 68, 169, 198, 0, 132, 42, 0, 132, 11, 0, 132, 48, 0, 132, 45, 0, 132, 56, 0, 132, 61, 0, 132, 15, 0, 132, 80, 0, 132, 157, 0, 132, 135, 0, 132, 136, 0, 132, 156, 0, 4, 0, 0, 134, 1, 0, 134, 157, 0, 134, 135, 0, 134, 136, 0, 134, 156, 0, 167, 137, 168, 0, 138, 0, 52, 137, 189, 0, 0, 137, 1, 0, 137, 157, 0, 137, 138, 0, 139, 0, 152, 0, 146, 0, 24, 134, 88, 0, 18, 134, 178, 0, 14, 134, 79, 0, 29, 134, 93, 0, 37, 0, 64, 170, 154, 121, 0, 0, 50, 140, 144, 108, 0, 0, 72, 141, 144, 129, 0, 0, 23, 142, 144, 87, 0, 0, 47, 143, 144, 106, 0, 0, 144, 1, 0, 144, 145, 0, 44, 172, 187, 0, 136, 0, 157, 0, 25, 172, 203, 146, 182, 0, 25, 172, 203, 147, 89, 0, 0, 147, 0, 147, 148, 0, 147, 149, 0, 26, 172,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -