struct TOML::KeyPart

Overview

One segment of a TOML key. A bare key (server), a quoted key ("127.0.0.1") or a literal-quoted key ('a.b.c') all become one KeyPart.

#raw is the verbatim source slice (including quotes if any). #decoded is the logical key string used for lookups.

Defined in:

toml/key.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(raw : String, decoded : String) #

[View source]

Instance Method Detail

def decoded : String #

[View source]
def raw : String #

[View source]