Non-empty sequence of dotted simple keys
Moduletoml-parser-2.0.0.0Haskell2010
Toml.Syntax.Types
This module provides a raw representation of TOML files as a list of table definitions and key-value assignments.
These values use the raw dotted keys and have no detection for overlapping assignments.
Further processing will happen in the Semantics module.
- 4 types
- Packagetoml-parser-2.0.0.0
- Exports4
- LanguageHaskell2010
- LicenceISC
- SourceTypes.hs
Headers and assignments corresponding to lines of a TOML file
Constructors
KeyValExpr (Key a) (Val a)key value assignment:
key = valueTableExpr (Key a)table:
[key]ArrayTableExpr (Key a)array of tables:
[[key]]
Unvalidated TOML values. Table are represented as a list of assignments rather than as resolved maps.
Kinds of table headers
Constructors
TableKind- table
ArrayTableKind- [array of tables
]
Instances3Eq, Read, Show
Eq SectionKindDefined in toml-parser-2.0.0.0 · Toml.Syntax.TypesRead SectionKindDefined in toml-parser-2.0.0.0 · Toml.Syntax.TypesShow SectionKindDefined in toml-parser-2.0.0.0 · Toml.Syntax.Types