parsers-0.12.11: Parsing combinators
Copyright(C) 2011 Edward Kmett
LicenseBSD-style (see the file LICENSE)
MaintainerEdward Kmett <ekmett@gmail.com>
Stabilityexperimental
Portabilityportable
Safe HaskellSafe-Inferred
LanguageHaskell2010

Text.Parser.Token.Highlight

Description

Highlighting isn't strictly a parsing concern, but it makes more sense to annotate a parser with highlighting information than to require someone to completely reimplement all of the combinators to add this functionality later when they need it.

Synopsis

Documentation

data Highlight Source #

Tags used by the TokenParsing highlight combinator.

Instances

Instances details
Bounded Highlight Source # 
Instance details

Defined in Text.Parser.Token.Highlight

Enum Highlight Source # 
Instance details

Defined in Text.Parser.Token.Highlight

Read Highlight Source # 
Instance details

Defined in Text.Parser.Token.Highlight

Show Highlight Source # 
Instance details

Defined in Text.Parser.Token.Highlight

Eq Highlight Source # 
Instance details

Defined in Text.Parser.Token.Highlight

Ord Highlight Source # 
Instance details

Defined in Text.Parser.Token.Highlight