xml-conduit-selectors-0.2.0.1: CSS selectors for xml-conduit
Safe HaskellSafe-Inferred
LanguageHaskell2010

Text.XML.Selectors.Parsers.JQ

Synopsis

Documentation

jq Source #

Arguments

:: (IsString (Tokens s), Stream s, Token s ~ Char) 
=> String

Name of source file

-> s

Input stream

-> Either (ParseErrorBundle s Text) Selector 

jqText Source #

Arguments

:: Text

Input stream

-> Either (ParseErrorBundle Text Text) Selector 

jqString' Source #

Arguments

:: String

Input stream

-> Selector 

jqText' Source #

Arguments

:: Text

Input stream

-> Selector 

errorBundlePretty #

Arguments

:: (VisualStream s, TraversableStream s, ShowErrorComponent e) 
=> ParseErrorBundle s e

Parse error bundle to display

-> String

Textual rendition of the bundle

Pretty-print a ParseErrorBundle. All ParseErrors in the bundle will be pretty-printed in order together with the corresponding offending lines by doing a single pass over the input stream. The rendered String always ends with a newline.

Since: megaparsec-7.0.0

Orphan instances