úΫ'      !"#$%&A type t of the  class can be parsed using Parsec. t is of  kind '* -> *'=, as the parsed AST should be annotated with souce locations  (see '). MThe big deal here is that we can embed a parser for some scripting language, L (e.g. Javascript) into this HTML parser with ease, while preserving source I locations. The Html datatype is parameterized over a script parser (an  instance of Script).  must be a non-empty list 3Returns the value of the attribute in the list, or ( if it doesn't - exist of the value is an inline-expression.     <)IAn HTML fragment represents an HTML element with a sequence of children. *+,-./0123456789:;<=>?@&List of HTML elements that are empty. ABCDEGWe do not permit spaces between the hyphens and the right-angle in the  terminating -->. FGHIJKLMNOPQRSTUVWXYZ[\]^_`a ! !!  !"#$%"#$%%$#""#$% b"Returns the source of the script. cMReturns a list of URIs for external Javascript files referenced in the page. d.Returns the top-level statements of a script. efghiLGiven an HTML page, crawls all external Javascript files and returns a list - of statements, concatenated from all files. &&&& j     !"#$%"&&'()*+,- ./0123456789:;< =>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqWebBits-Html-1.0.1BrownPLT.Html.RawScriptBrownPLT.Html.SyntaxBrownPLT.Html.PermissiveParserBrownPLT.Html.PrettyPrint!BrownPLT.JavaScript.HtmlEmbeddingBrownPLT.JavaScript.CrawlBrownPLT.Html.Instances BrownPLT.Htmlparsec-2.1.0.1"Text.ParserCombinators.Parsec.Prim parseFromFileScriptprettyPrintScriptparseScriptBlockparseInlineScriptparseAttributeScriptHtml InlineScriptProcessingInstructionHtmlSeqCommentTextElement Attribute AttributeExprAttributeValueHtmlIdisAttributeExprattributeValue attributeSetattributeUpdateTokentokenshtmlparseHtmlFromStringparseHtmlFromFile renderHtml RawScriptRawHtmlparseFromStringParsedStatement ParsedJsHtmlParsedJavaScriptJsHtmlgetPageJavaScript!Text.ParserCombinators.Parsec.Pos SourcePosbase Data.MaybeNothing HtmlFragmentFragmentfragmentPosition fragmentNamefragmentAttributesfragmentChildren TokenParser DoctypeTokenEndTagInlineTag EntityInt EntityTokenWarning StringWarningParsedAttribute ParsedHtmlwarn noWarningsparentConstraints emptyElementsisLegalChildOfisEmptyElementtokenqnamecommentendTagdoctypeentity notScripttext quotedString scriptValuenumbernonquotedAttribute attributetag inlineScript textToken entityToken commentToken scriptToken inlineTokenendTokentagToken doctypeToken closeFragmentatomic maybeCloseopenhtml'htmlWithWarningsattr ltraverse scriptSrcimportedScripts scriptText eventHandlers attrScriptinpageAttrScripts inpageScriptsgetPageJavascript