module TOML::HashBuilder

Overview

Walks a Document AST and produces a plain Hash(String, Type).

All trivia (comments, blanks, formatting) is discarded; only the logical structure is kept. The resulting hash is suitable for crystal-community/TOML.cr users migrating to this shard.

Extended Modules

Defined in:

toml/hash_builder.cr

Instance Method Summary

Instance Method Detail

def build(document : Document) : Hash(String, Type) #

[View source]