class

TOML::InlineTableValue

Inherits TOML::Value < Reference < Object

{ key = "val", key2 = 42 }. Inline tables are by spec immutable once written — modification would require deletion and re-insertion. We store them as a parallel list of (path, value) entries where path is the array of decoded key segments (length > 1 for dotted keys like a.b = 1), to preserve both declaration order and the dotted structure.

Constructors

new(raw : String, pairs : Array(Tuple(Array(String), Value)))
Source

Instance methods

pairs
Source