Advertisement
Guest User

Untitled

a guest
Nov 21st, 2019
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.60 KB | None | 0 0
  1. html_grammar = {
  2. '<start>': [['<_l_>', '!DOCTYPE html', '<_r_>', '<html_document>']],
  3. '<_l_>': [['<']],
  4. '<_r_>': [['>']],
  5. '<_cl_>': [['</']],
  6. '<a_tag>':
  7. [['<_l_>', 'a', '<d>', '<_r_>', '<a_content-1>', '<_cl_>', 'a', '<_r_>']],
  8. '<a_content>': [['<heading>'], ['<text>']],
  9. '<abbr_tag>':
  10. [['<_l_>', 'abbr', '<d>', '<_r_>', '<text>', '<_cl_>', 'abbr', '<_r_>']],
  11. '<acronym_tag>': [[
  12. '<_l_>', 'acronym', '<d>', '<_r_>', '<text>', '<_cl_>', 'acronym',
  13. '<_r_>'
  14. ]],
  15. '<address_tag>': [[
  16. '<_l_>', 'address', '<d>', '<_r_>', '<address_content-1>', '<_cl_>',
  17. 'address', '<_r_>'
  18. ]],
  19. '<address_content>': [['<p_tag>'], ['<text>']],
  20. '<applet_content>': [['<param-1>', '<body_content>']],
  21. '<area>': [['<_l_>', 'area', '<d>', '<_r_>']],
  22. '<applet_tag>': [[
  23. '<_l_>', 'applet', '<d>', '<_r_>', '<applet_content>', '<_cl_>',
  24. 'applet', '<_r_>'
  25. ]],
  26. '<b_tag>':
  27. [['<_l_>', 'b', '<d>', '<_r_>', '<text>', '<_cl_>', 'b', '<_r_>']],
  28. '<basefont_tag>': [[
  29. '<_l_>', 'basefront', '<d>', '<_r_>', '<body_content>', '<_cl_>',
  30. 'basefront', '<_r_>'
  31. ]],
  32. '<bdo_tag>':
  33. [['<_l_>', 'bdo', '<d>', '<_r_>', '<text>', '<_cl_>', 'bdo', '<_r_>']],
  34. '<big_tag>':
  35. [['<_l_>', 'big', '<d>', '<_r_>', '<text>', '<_cl_>', 'big', '<_r_>']],
  36. '<blink_tag>':
  37. [['<_l_>', 'blink', '<d>', '<_r_>', '<text>', '<_cl_>', 'blink', '<_r_>']],
  38. '<block>': [['<block_content-1>']],
  39. '<block_content>': [['<basefont_tag>'], ['<blockquote_tag>'],
  40. ['<center_tag>'], ['<dir_tag>'], ['<div_tag>'],
  41. ['<dl_tag>'], ['<form_tag>'], ['<listing_tag>'],
  42. ['<menu_tag>'], ['<multicol_tag>'], ['<nobr_tag>'],
  43. ['<ol_tag>'], ['<p_tag>'], ['<pre_tag>'],
  44. ['<table_tag>'], ['<ul_tag>'], ['<xmp_tag>']],
  45. '<blockquote_tag>': [[
  46. '<_l_>', 'blockquote', '<d>', '<_r_>', '<body_content>', '<_cl_>',
  47. 'blockquote', '<_r_>'
  48. ]],
  49. '<body_content>': [['<_l_>', 'bgsound', '<d>', '<_r_>'],
  50. ['<_l_>', 'hr', '<_r_>'],
  51. ['<address_tag>'], ['<block>'], ['<del_tag>'],
  52. ['<heading>'], ['<ins_tag>'], ['<layer_tag>'],
  53. ['<map_tag>'], ['<marquee_tag>'], ['<text>']],
  54. '<body_tag>': [[
  55. '<_l_>', 'body', '<d>', '<_r_>', '<body_content-1>', '<_cl_>', 'body',
  56. '<_r_>'
  57. ]],
  58. '<caption_tag>': [[
  59. '<_l_>', 'caption', '<d>', '<_r_>', '<body_content-2>', '<_cl_>',
  60. 'caption', '<_r_>'
  61. ]],
  62. '<center_tag>': [[
  63. '<_l_>', 'center', '<d>', '<_r_>', '<body_content-3>', '<_cl_>',
  64. 'center', '<_r_>'
  65. ]],
  66. '<cite_tag>':
  67. [['<_l_>', 'cite', '<d>', '<_r_>', '<text>', '<_cl_>', 'cite', '<_r_>']],
  68. '<code_tag>':
  69. [['<_l_>', 'code', '<d>', '<_r_>', '<text>', '<_cl_>', 'code', '<_r_>']],
  70. '<colgroup_content>': [['<_l_>', 'col', '<d>', '<_r_-1>']],
  71. '<colgroup_tag>':
  72. [['<_l_>', 'colgroup', '<d>', '<_r_>', '<colgroup_content>']],
  73. '<content_style>': [['<abbr_tag>'], ['<acronym_tag>'], ['<cite_tag>'],
  74. ['<code_tag>'], ['<dfn_tag>'], ['<em_tag>'],
  75. ['<kbd_tag>'], ['<q_tag>'], ['<strong_tag>'],
  76. ['<var_tag>']],
  77. '<dd_tag>':
  78. [['<_l_>', 'dd', '<d>', '<_r_>', '<flow>', '<_cl_>', 'dd', '<_r_>']],
  79. '<del_tag>':
  80. [['<_l_>', 'del', '<d>', '<_r_>', '<flow>', '<_cl_>', 'del', '<_r_>']],
  81. '<dfn_tag>':
  82. [['<_l_>', 'dfn', '<d>', '<_r_>', '<text>', '<_cl_>', 'dfn', '<_r_>']],
  83. '<dir_tag>': [[
  84. '<_l_>', 'dir', '<d>', '<_r_>', '<li_tag-1>', '<_cl_>', 'dir', '<_r_>'
  85. ]],
  86. '<div_tag>': [[
  87. '<_l_>', 'div', '<d>', '<_r_>', '<body_content>', '<_cl_>', 'div',
  88. '<_r_>'
  89. ]],
  90. '<dl_content>': [['<dt_tag>', '<dd_tag>']],
  91. '<dl_tag>': [[
  92. '<_l_>', 'dl', '<d>', '<_r_>', '<dl_content-1>', '<_cl_>', 'dl',
  93. '<_r_>'
  94. ]],
  95. '<dt_tag>': [[
  96. '<_l_>', 'dt', '<d>', '<_r_>', '<text>', '<_cl_>', 'dt', '<_r_>'
  97. ]],
  98. '<em_tag>': [[
  99. '<_l_>', 'em', '<d>', '<_r_>', '<text>', '<_cl_>', 'em', '<_r_>'
  100. ]],
  101. '<fieldset_tag>': [[
  102. '<_l_>', 'fieldset', '<d>', '<_r_>', '<legend_tag-1>',
  103. '<form_content-1>', '<_cl_>', 'fieldset', '<_r_>'
  104. ]],
  105. '<flow>': [['<flow_content-1>']],
  106. '<flow_content>': [['<block>'], ['<text>']],
  107. '<font_tag>': [[
  108. '<_l_>', 'font', '<d>', '<_r_>', '<style_text>', '<_cl_>', 'font',
  109. '<_r_>'
  110. ]],
  111. '<form_content>': [['<_l_>', 'input', '<d>', '<_r_>'],
  112. ['<_l_>', 'keygen', '<d>', '<_r_>'], ['<body_content>'],
  113. ['<fieldset_tag>'], ['<label_tag>'], ['<select_tag>'],
  114. ['<textarea_tag>']],
  115. '<form_tag>': [[
  116. '<_l_>', 'form', '<d>', '<_r_>', '<form_content-2>', '<_cl_>', 'form',
  117. '<_r_>'
  118. ]],
  119. '<frameset_content>': [['<_l_>', 'frame', '<d>', '<_r_>'],
  120. ['<noframes_tag>']],
  121. '<frameset_tag>': [[
  122. '<_l_>', 'frameset', '<d>', '<_r_>', '<frameset_content-1>', '<_cl_>',
  123. 'frameset', '<_r_>'
  124. ]],
  125. '<h1_tag>': [[
  126. '<_l_>', 'h1', '<d>', '<_r_>', '<text>', '<_cl_>', 'h1', '<_r_>'
  127. ]],
  128. '<h2_tag>': [[
  129. '<_l_>', 'h2', '<d>', '<_r_>', '<text>', '<_cl_>', 'h2', '<_r_>'
  130. ]],
  131. '<h3_tag>': [[
  132. '<_l_>', 'h3', '<d>', '<_r_>', '<text>', '<_cl_>', 'h3', '<_r_>'
  133. ]],
  134. '<h4_tag>': [[
  135. '<_l_>', 'h4', '<d>', '<_r_>', '<text>', '<_cl_>', 'h4', '<_r_>'
  136. ]],
  137. '<h5_tag>': [[
  138. '<_l_>', 'h5', '<d>', '<_r_>', '<text>', '<_cl_>', 'h5', '<_r_>'
  139. ]],
  140. '<h6_tag>': [[
  141. '<_l_>', 'h6', '<d>', '<_r_>', '<text>', '<_cl_>', 'h6', '<_r_>'
  142. ]],
  143. '<head_content>': [['<_l_>', 'base', '<d>', '<_r_>'],
  144. ['<_l_>', 'link', '<d>', '<_r_>'],
  145. ['<_l_>', 'meta', '<d>', '<_r_>'], ['<style_tag>'],
  146. ['<title_tag>'], ['<script_tag>']],
  147. '<head_tag>': [[
  148. '<_l_>', 'head', '<d>', '<_r_>', '<head_content-1>', '<_cl_>', 'head',
  149. '<_r_>'
  150. ]],
  151. '<heading>': [['<h1_tag>'], ['<h2_tag>'], ['<h3_tag>'], ['<h4_tag>'],
  152. ['<h5_tag>'], ['<h6_tag>']],
  153. '<html_content>': [['<head_tag>', '<body_tag>'],
  154. ['<head_tag>', '<frameset_tag>']],
  155. '<html_document>': [['<html_tag>']],
  156. '<html_tag>': [[
  157. '<_l_>', 'html', '<_r_>', '<html_content>', '<_cl_>', 'html', '<_r_>'
  158. ]],
  159. '<i_tag>': [[
  160. '<_l_>', 'i', '<d>', '<_r_>', '<text>', '<_cl_>', 'i', '<_r_>'
  161. ]],
  162. '<ilayer_tag>': [[
  163. '<_l_>', 'ilayer', '<d>', '<_r_>', '<body_content>', '<_cl_>',
  164. 'ilayer', '<_r_>'
  165. ]],
  166. '<ins_tag>': [[
  167. '<_l_>', 'ins', '<d>', '<_r_>', '<flow>', '<_cl_>', 'ins', '<_r_>'
  168. ]],
  169. '<kbd_tag>': [[
  170. '<_l_>', 'kbd', '<d>', '<_r_>', '<text>', '<_cl_>', 'kbd', '<_r_>'
  171. ]],
  172. '<label_content>': [['<_l_>', 'input', '<d>', '<_r_>'], ['<body_content>'],
  173. ['<select_tag>'], ['<textarea_tag>']],
  174. '<label_tag>': [[
  175. '<_l_>', 'label', '<d>', '<_r_>', '<label_content-1>', '<_cl_>',
  176. 'label', '<_r_>'
  177. ]],
  178. '<layer_tag>': [[
  179. '<_l_>', 'layer', '<d>', '<_r_>', '<body_content>', '<_cl_>', 'layer',
  180. '<_r_>'
  181. ]],
  182. '<legend_tag>': [[
  183. '<_l_>', 'legend', '<d>', '<_r_>', '<text>', '<_cl_>', 'legend',
  184. '<_r_>'
  185. ]],
  186. '<li_tag>': [[
  187. '<_l_>', 'li', '<d>', '<_r_>', '<flow>', '<_cl_>', 'li', '<_r_>'
  188. ]],
  189. '<literal_text>': [['<plain_text>']],
  190. '<listing_tag>': [[
  191. '<_l_>', 'listing', '<d>', '<_r_>', '<literal_text>', '<_cl_>',
  192. 'listing', '<_r_>'
  193. ]],
  194. '<map_content>': [['<area-1>']],
  195. '<map_tag>': [[
  196. '<_l_>', 'map', '<d>', '<_r_>', '<map_content>', '<_cl_>', 'map',
  197. '<_r_>'
  198. ]],
  199. '<marquee_tag>': [[
  200. '<_l_>', 'marquee', '<d>', '<_r_>', '<style_text>', '<_cl_>',
  201. 'marquee', '<_r_>'
  202. ]],
  203. '<menu_tag>': [[
  204. '<_l_>', 'menu', '<d>', '<_r_>', '<li_tag-2>', '<_cl_>', 'menu',
  205. '<_r_>'
  206. ]],
  207. '<multicol_tag>': [[
  208. '<_l_>', 'multicol', '<d>', '<_r_>', '<body_content>', '<_cl_>',
  209. 'multicol', '<_r_>'
  210. ]],
  211. '<nobr_tag>': [[
  212. '<_l_>', 'nobr', '<d>', '<_r_>', '<text>', '<_cl_>', 'nobr', '<_r_>'
  213. ]],
  214. '<noembed_tag>': [[
  215. '<_l_>', 'noembed', '<d>', '<_r_>', '<text>', '<_cl_>', 'noembed',
  216. '<_r_>'
  217. ]],
  218. '<noframes_tag>': [[
  219. '<_l_>', 'noframes', '<d>', '<_r_>', '<body_content-4>', '<_cl_>',
  220. 'noframes', '<_r_>'
  221. ]],
  222. '<noscript_tag>': [[
  223. '<_l_>', 'noscript', '<d>', '<_r_>', '<text>', '<_cl_>', 'noscript',
  224. '<_r_>'
  225. ]],
  226. '<object_content>': [['<param-2>', '<body_content>']],
  227. '<object_tag>': [[
  228. '<_l_>', 'object', '<d>', '<_r_>', '<object_content>', '<_cl_>',
  229. 'object', '<_r_>'
  230. ]],
  231. '<ol_tag>': [[
  232. '<_l_>', 'ol', '<d>', '<_r_>', '<li_tag-3>', '<_cl_>', 'ol', '<_r_>'
  233. ]],
  234. '<optgroup_tag>': [[
  235. '<_l_>', 'optgroup', '<d>', '<_r_>', '<option_tag-1>', '<_cl_>',
  236. 'optgroup', '<_r_>'
  237. ]],
  238. '<option_tag>': [[
  239. '<_l_>', 'option', '<d>', '<_r_>', '<plain_text-1>', '<_cl_>',
  240. 'option', '<_r_>'
  241. ]],
  242. '<p_tag>': [['<_l_>', 'p', '<_r_>', '<text>', '<_cl_>', 'p', '<_r_>']],
  243. '<param>': [['<_l_>', 'param', '<_r_>']],
  244. '<plain_text>': [['<entity-1>']],
  245. '<entity>': [['<char>'], ['<ampersand>']],
  246. '<char>': [['7'], ['*'], [':'], [']'], ['n'], ['m'], ['N'], ['/'], ['.'],
  247. ['K'], ['T'], ['I'], ['f'], ['o'], [','], ['l'], ['W'], ['-'],
  248. ['?'], ['\\'], ['%'], ['1'], ['c'], ['H'], ['!'], ['A'], ['$'],
  249. ['9'], ['q'], ['['], [')'], [' '], [';'], ['b'], ['i'], ['L'],
  250. ["'"], ['Y'], ['\t'], ['3'], ['g'], ['F'], ['E'], ['D'], ['C'],
  251. ['@'], ['t'], ['R'], ['"'], ['2'], ['}'], ['~'], ['5'], ['4'],
  252. ['z'], ['X'], ['S'], ['O'], ['v'], ['J'], ['`'], ['B'], ['\n'],
  253. ['y'], ['p'], ['6'], ['0'], ['k'], ['w'], ['\r'], ['V'], ['_'],
  254. ['s'], ['x'], ['{'], ['d'], ['a'], ['#'], ['Q'], ['<'], ['u'],
  255. ['r'], ['U'], ['h'], ['>'], ['('], ['P'], ['G'], ['\x0c'],
  256. ['Z'], ['j'], ['|'], ['e'], ['^'], ['='], ['8'], ['+'], ['M']],
  257. '<ampersand>': [['&nbsp;']],
  258. '<physical_style>': [['<b_tag>'], ['<bdo_tag>'], ['<big_tag>'],
  259. ['<blink_tag>'], ['<font_tag>'], ['<i_tag>'],
  260. ['<s_tag>'], ['<small_tag>'], ['<span_tag>'],
  261. ['<strike_tag>'], ['<sub_tag>'], ['<sup_tag>'],
  262. ['<tt_tag>'], ['<u_tag>']],
  263. '<pre_content>': [['<_l_>', 'br', '<_r_>'], ['<_l_>', 'hr', '<_r_>'],
  264. ['<a_tag>'], ['<style_text>']],
  265. '<pre_tag>': [[
  266. '<_l_>', 'pre', '<_r_>', '<pre_content-1>', '<_cl_>', 'pre', '<_r_>'
  267. ]],
  268. '<q_tag>': [['<_l_>', 'q', '<_r_>', '<text>', '<_cl_>', 'q', '<_r_>']],
  269. '<s_tag>': [['<_l_>', 's', '<_r_>', '<text>', '<_cl_>', 's', '<_r_>']],
  270. '<script_tag>': [[
  271. '<_l_>', 'script', '<d>', '<_r_>', '<plain_text>', '<_cl_>', 'script',
  272. '<_r_>'
  273. ]],
  274. '<select_content>': [['<optgroup_tag>'], ['<option_tag>']],
  275. '<select_tag>': [[
  276. '<_l_>', 'select', '<d>', '<_r_>', '<select_content-1>', '<_cl_>',
  277. 'select', '<_r_>'
  278. ]],
  279. '<small_tag>': [[
  280. '<_l_>', 'small', '<d>', '<_r_>', '<text>', '<_cl_>', 'small', '<_r_>'
  281. ]],
  282. '<span_tag>': [[
  283. '<_l_>', 'span', '<d>', '<_r_>', '<text>', '<_cl_>', 'span', '<_r_>'
  284. ]],
  285. '<strike_tag>': [[
  286. '<_l_>', 'strike', '<d>', '<_r_>', '<text>', '<_cl_>', 'strike',
  287. '<_r_>'
  288. ]],
  289. '<strong_tag>': [[
  290. '<_l_>', 'strong', '<d>', '<_r_>', '<text>', '<_cl_>', 'strong',
  291. '<_r_>'
  292. ]],
  293. '<style_tag>': [[
  294. '<_l_>', 'style', '<d>', '<_r_>', '<plain_text>', '<_cl_>', 'style',
  295. '<_r_>'
  296. ]],
  297. '<style_text>': [['<plain_text>']],
  298. '<sub_tag>': [[
  299. '<_l_>', 'sub', '<d>', '<_r_>', '<text>', '<_cl_>', 'sub', '<_r_>'
  300. ]],
  301. '<sup_tag>': [[
  302. '<_l_>', 'sup', '<d>', '<_r_>', '<text>', '<_cl_>', 'sup', '<_r_>'
  303. ]],
  304. '<table_cell>': [['<td_tag>'], ['<th_tag>']],
  305. '<table_content>': [['<_l_>', 'tbody', '<d>', '<_r_>'],
  306. ['<_l_>', 'tfoot', '<d>', '<_r_>'],
  307. ['<_l_>', 'thead', '<d>', '<_r_>'], ['<tr_tag>']],
  308. '<table_tag>': [[
  309. '<_l_>', 'table', '<d>', '<_r_>', '<caption_tag-1>',
  310. '<colgroup_tag-1>', '<table_content-1>', '<_cl_>', 'table', '<_r_>'
  311. ]],
  312. '<td_tag>': [[
  313. '<_l_>', 'td', '<d>', '<_r_>', '<body_content>', '<_cl_>', 'td',
  314. '<_r_>'
  315. ]],
  316. '<text>': [['<text_content-1>']],
  317. '<text_content>': [['<_l_>', 'br', '<d>', '<_r_>'],
  318. ['<_l_>', 'embed', '<d>', '<_r_>'],
  319. ['<_l_>', 'iframe', '<d>', '<_r_>'],
  320. ['<_l_>', 'img', '<d>', '<_r_>'],
  321. ['<_l_>', 'spacer', '<d>', '<_r_>'],
  322. ['<_l_>', 'wbr', '<d>', '<_r_>'], ['<a_tag>'],
  323. ['<applet_tag>'], ['<content_style>'], ['<ilayer_tag>'],
  324. ['<noembed_tag>'], ['<noscript_tag>'], ['<object_tag>'],
  325. ['<plain_text>'], ['<physical_style>']],
  326. '<textarea_tag>': [[
  327. '<_l_>', 'textarea', '<d>', '<_r_>', '<plain_text>', '<_cl_>',
  328. 'textarea', '<_r_>'
  329. ]],
  330. '<th_tag>': [[
  331. '<_l_>', 'th', '<d>', '<_r_>', '<body_content>', '<_cl_>', 'th',
  332. '<_r_>'
  333. ]],
  334. '<title_tag>': [[
  335. '<_l_>', 'title', '<d>', '<_r_>', '<plain_text>', '<_cl_>', 'title',
  336. '<_r_>'
  337. ]],
  338. '<tr_tag>': [[
  339. '<_l_>', 'tr', '<d>', '<_r_>', '<table_cell-1>', '<_cl_>', 'tr',
  340. '<_r_>'
  341. ]],
  342. '<tt_tag>': [[
  343. '<_l_>', 'tt', '<d>', '<_r_>', '<text>', '<_cl_>', 'tt', '<_r_>'
  344. ]],
  345. '<u_tag>': [[
  346. '<_l_>', 'u', '<d>', '<_r_>', '<text>', '<_cl_>', 'u', '<_r_>'
  347. ]],
  348. '<ul_tag>': [[
  349. '<_l_>', 'ul', '<d>', '<_r_>', '<li_tag-4>', '<_cl_>', 'ul', '<_r_>'
  350. ]],
  351. '<var_tag>': [[
  352. '<_l_>', 'var', '<d>', '<_r_>', '<text>', '<_cl_>', 'var', '<_r_>'
  353. ]],
  354. '<xmp_tag>': [[
  355. '<_l_>', 'xmp', '<d>', '<_r_>', '<literal_text>', '<_cl_>', 'xmp',
  356. '<_r_>'
  357. ]],
  358. '<d>': [['<space-1>', '<attributes-1>', '<space-2>'], []],
  359. '<attribute>': [['<key>'], ['<key>', '="', '<value>', '"'],
  360. ['<key>', "='", '<value>', "'"],
  361. ['<key>', '=', '<uqvalue>']],
  362. '<key>': [['<allchars>']],
  363. '<allchars>': [
  364. ['7'], ['*'], [':'], ['&'], [']'], ['n'], ['m'], ['N'], ['.'], ['K'],
  365. ['T'], ['I'], ['f'], ['o'], [','], ['l'], ['W'], ['-'], ['?'], ['\\'],
  366. ['%'], ['1'], ['c'], ['H'], ['!'], ['A'], ['$'], ['9'], ['q'], ['['],
  367. [')'], [';'], ['b'], ['i'], ['L'], ['Y'], ['3'], ['g'], ['F'], ['E'],
  368. ['D'], ['C'], ['@'], ['t'], ['R'], ['2'], ['}'], ['~'], ['5'], ['4'],
  369. ['z'], ['X'], ['S'], ['O'], ['v'], ['J'], ['`'], ['B'], ['y'], ['p'],
  370. ['6'], ['0'], ['k'], ['w'], ['\r'], ['V'], ['_'], ['s'], ['x'], ['{'],
  371. ['d'], ['a'], ['#'], ['Q'], ['u'], ['r'], ['U'], ['h'], ['('], ['P'],
  372. ['G'], ['\x0c'], ['Z'], ['j'], ['|'], ['e'], ['^'], ['8'], ['+'],
  373. ['M']
  374. ],
  375. '<value>': [['<anychars>']],
  376. '<anychar>': [['0'], ['1'], ['2'], ['3'], ['4'], ['5'], ['6'], ['7'],
  377. ['8'], ['9'], ['a'], ['b'], ['c'], ['d'], ['e'], ['f'
  378. ], ['g'],
  379. ['h'], ['i'], ['j'], ['k'], ['l'], ['m'], ['n'], ['o'
  380. ], ['p'],
  381. ['q'], ['r'], ['s'], ['t'], ['u'], ['v'], ['w'], ['x'
  382. ], ['y'],
  383. ['z'], ['A'], ['B'], ['C'], ['D'], ['E'], ['F'], ['G'
  384. ], ['H'],
  385. ['I'], ['J'], ['K'], ['L'], ['M'], ['N'], ['O'], ['P'
  386. ], ['Q'],
  387. ['R'], ['S'], ['T'], ['U'], ['V'], ['W'], ['X'], ['Y'
  388. ], ['Z'],
  389. ['!'], ['"'], ['#'], ['$'], ['%'], ['&'], ["'"], ['('
  390. ], [')'],
  391. ['*'], ['+'], [','], ['-'], ['.'], ['/'], [':'], [';'
  392. ], ['<'],
  393. ['='], ['>'], ['?'], ['@'], ['['], ['\\'], [']'], ['^'],
  394. ['_'], ['`'], ['{'], ['|'], ['}'], ['~'], [' '], ['\t'],
  395. ['\n'], ['\r'], ['\x0b'], ['\x0c']],
  396. '<anychars>': [['<anychar-1>']],
  397. '<uqvalue>': [['<uqchars>']],
  398. '<uqchar>': [['7'], ['*'], [':'], ['&'], [']'], ['n'], ['m'], ['N'], ['.'],
  399. ['K'], ['T'], ['I'], ['f'], ['o'], [','], ['l'], ['W'], ['-'],
  400. ['?'], ['\\'], ['%'], ['1'], ['c'], ['H'], ['!'], ['A'],
  401. ['$'], ['9'], ['q'], ['['], [')'], [';'], ['b'], ['i'], ['L'],
  402. ['Y'], ['3'], ['g'], ['F'], ['E'], ['D'], ['C'], ['@'], ['t'],
  403. ['R'], ['2'], ['}'], ['~'], ['5'], ['4'], ['z'], ['X'], ['S'],
  404. ['O'], ['v'], ['J'], ['B'], ['y'], ['p'], ['6'], ['0'], ['k'],
  405. ['w'], ['\r'], ['V'], ['_'], ['s'], ['x'], ['{'], ['d'],
  406. ['a'], ['#'], ['Q'], ['u'], ['r'], ['U'], ['h'], ['('], ['P'],
  407. ['G'], ['\x0c'], ['Z'], ['j'], ['|'], ['e'], ['^'], ['8'],
  408. ['+'], ['M']],
  409. '<uqchars>': [['<uqchar-1>']],
  410. '<attributes>': [['<attribute>'],
  411. ['<attribute>', '<space-3>', '<attributes>']],
  412. '<space>': [[' '], ['\t'], ['\n']],
  413. '<a_content-1>': [[], ['<a_content>', '<a_content-1>']],
  414. '<address_content-1>': [[], ['<address_content>', '<address_content-1>']],
  415. '<param-1>': [[], ['<param>', '<param-1>']],
  416. '<block_content-1>': [[], ['<block_content>', '<block_content-1>']],
  417. '<body_content-1>': [[], ['<body_content>', '<body_content-1>']],
  418. '<body_content-2>': [[], ['<body_content>', '<body_content-2>']],
  419. '<body_content-3>': [[], ['<body_content>', '<body_content-3>']],
  420. '<_r_-1>': [[], ['<_r_>', '<_r_-1>']],
  421. '<li_tag-1>': [['<li_tag>'], ['<li_tag>', '<li_tag-1>']],
  422. '<dl_content-1>': [['<dl_content>'], ['<dl_content>', '<dl_content-1>']],
  423. '<legend_tag-1>': [[], ['<legend_tag>', '<legend_tag-1>']],
  424. '<form_content-1>': [[], ['<form_content>', '<form_content-1>']],
  425. '<flow_content-1>': [[], ['<flow_content>', '<flow_content-1>']],
  426. '<form_content-2>': [[], ['<form_content>', '<form_content-2>']],
  427. '<frameset_content-1>': [[],
  428. ['<frameset_content>', '<frameset_content-1>']],
  429. '<head_content-1>': [[], ['<head_content>', '<head_content-1>']],
  430. '<label_content-1>': [[], ['<label_content>', '<label_content-1>']],
  431. '<area-1>': [[], ['<area>', '<area-1>']],
  432. '<li_tag-2>': [[], ['<li_tag>', '<li_tag-2>']],
  433. '<body_content-4>': [[], ['<body_content>', '<body_content-4>']],
  434. '<param-2>': [[], ['<param>', '<param-2>']],
  435. '<li_tag-3>': [['<li_tag>'], ['<li_tag>', '<li_tag-3>']],
  436. '<option_tag-1>': [[], ['<option_tag>', '<option_tag-1>']],
  437. '<plain_text-1>': [['<plain_text>'], ['<plain_text>', '<plain_text-1>']],
  438. '<entity-1>': [[], ['<entity>', '<entity-1>']],
  439. '<pre_content-1>': [[], ['<pre_content>', '<pre_content-1>']],
  440. '<select_content-1>': [[], ['<select_content>', '<select_content-1>']],
  441. '<caption_tag-1>': [[], ['<caption_tag>', '<caption_tag-1>']],
  442. '<colgroup_tag-1>': [[], ['<colgroup_tag>', '<colgroup_tag-1>']],
  443. '<table_content-1>': [[], ['<table_content>', '<table_content-1>']],
  444. '<text_content-1>': [[], ['<text_content>', '<text_content-1>']],
  445. '<table_cell-1>': [[], ['<table_cell>', '<table_cell-1>']],
  446. '<li_tag-4>': [[], ['<li_tag>', '<li_tag-4>']],
  447. '<space-1>': [['<space>'], ['<space>', '<space-1>']],
  448. '<attributes-1>': [[], ['<attributes>', '<attributes-1>']],
  449. '<space-2>': [[], ['<space>', '<space-2>']],
  450. '<anychar-1>': [[], ['<anychar>', '<anychar-1>']],
  451. '<uqchar-1>': [['<uqchar>'], ['<uqchar>', '<uqchar-1>']],
  452.  
  453. '<space-3>': [['<space>'], ['<space>', '<space-3>']]
  454. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement