sexpr-parser-0.2.2.0: Simple s-expression parser
Safe HaskellSafe-Inferred
LanguageHaskell2010

Text.SExpression.Default

Synopsis

Documentation

data LiteralParsers Source #

Fully defined parser configuration

Instances

Instances details
Default LiteralParsers Source # 
Instance details

Defined in Text.SExpression.Default

Methods

def :: LiteralParsers #

mkLiteralParsers Source #

Arguments

:: (LiteralParsersM -> LiteralParsersM)

Cumulative override function

-> LiteralParsers 

Smart constructor for parser configuration that allows overriding the default literal parsers

overrideStringP Source #

Arguments

:: Parser SExpr

String parser

-> LiteralParsersM -> LiteralParsersM 

String parser override function

overrideNumberP Source #

Arguments

:: Parser SExpr

Number parser

-> LiteralParsersM -> LiteralParsersM 

Number parser override function

overrideBoolP Source #

Arguments

:: Parser SExpr

Bool parser

-> LiteralParsersM -> LiteralParsersM 

Boolean parser override function

parseStringDef Source #

Arguments

:: Parser SExpr

parser

Default parser for s-expression string literals

parseNumberDef Source #

Arguments

:: Parser SExpr

parser

Default parser for s-expression numeric literals

parseBoolDef :: Parser SExpr Source #

Default parser for s-expression boolean literals