Token
A helper module to parse lexical elements (tokens). See
makeTokenParser for a description of how to use it.
Parsec compatibility module
A token used by the parser.
Token tok is token tok already unquoted.
Parsers that comprehend whitespace and identifier styles
idStyle = haskellIdents { styleReserved = ... }
identifier = ident idStyle
reserved = reserve idStyle
Parse Dhall tokens. Even though we don't have a tokenizer per-se this
All tokens are paired up with a source position. Lexical errors are
passed back as a special TokenT value.
Tokens of outer cabal file structure. Field values are treated
opaquely.
A pair consisting of a list of attributes and some text.
our RE scanner returns a list of these tokens
Lexical tokens. Each may be annotated with any comment occurring
between the prior token and this one