TOML Expression Elaboration #
Elaborates top-level TOML syntax into a Lean Toml.Table
.
Equations
- Lake.Toml.instInhabitedKeyTy = { default := Lake.Toml.KeyTy.value }
Equations
- Lake.Toml.KeyTy.value.toString = "value"
- Lake.Toml.KeyTy.stdTable.toString = "table"
- Lake.Toml.KeyTy.array.toString = "array"
- Lake.Toml.KeyTy.dottedPrefix.toString = "dotted"
- Lake.Toml.KeyTy.headerPrefix.toString = "dotted"
Instances For
Equations
- Lake.Toml.instToStringKeyTy = { toString := Lake.Toml.KeyTy.toString }
Equations
- Lake.Toml.KeyTy.stdTable.isValidPrefix = true
- Lake.Toml.KeyTy.headerPrefix.isValidPrefix = true
- Lake.Toml.KeyTy.dottedPrefix.isValidPrefix = true
- ty.isValidPrefix = false
Instances For
- keyTys : Lean.NameMap KeyTy
- arrKeyTys : Lean.NameMap (Lean.NameMap KeyTy)
- arrParents : Lean.NameMap Lean.Name
- currArrKey : Lean.Name
- currKey : Lean.Name
Instances For
@[reducible, inline]
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Construct a table of simple key-value pairs from arbitrary key-value pairs.
For example:
{a.b := [c.d := 0]}, {a.b := [c.e := 1]}
becomes
{a := {b := [{c := {d := 0, e := 1}}]}}
Equations
- One or more equations did not get rendered due to their size.
Instances For
partial def
Lake.Toml.mkSimpleTable.insert
(t : Table)
(kRef : Lean.Syntax)
(k : Lean.Name)
(ks : List Lean.Name)
(newV : Value)
:
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.