IHP Api Reference
Copyright(c) digitally induced GmbH 2021
Safe HaskellNone

IHP.ServerSideComponent.HtmlParser

Description

 

Documentation

parseHtml :: Text -> Either (ParseErrorBundle Text Void) Node Source #

data Node Source #

Constructors

Node 
TextNode 

Fields

PreEscapedTextNode

Used in script or style bodies

Fields

Children 

Fields

CommentNode 

Fields

Instances

Instances details
Eq Node Source # 
Instance details

Defined in IHP.ServerSideComponent.HtmlParser

Methods

(==) :: Node -> Node -> Bool #

(/=) :: Node -> Node -> Bool #

Show Node Source # 
Instance details

Defined in IHP.ServerSideComponent.HtmlParser

Methods

showsPrec :: Int -> Node -> ShowS #

show :: Node -> String

showList :: [Node] -> ShowS #

ToJSON Node Source # 
Instance details

Defined in IHP.ServerSideComponent.ControllerFunctions

FromJSON Node Source # 
Instance details

Defined in IHP.ServerSideComponent.ControllerFunctions

Methods

parseJSON :: Value -> Parser Node #

parseJSONList :: Value -> Parser [Node] #