Sha256: 53d290a6fb4cd9a280a6fa85844ad16ee54f33a5f8824cb1114d81ca2bcefb79
Contents?: true
Size: 987 Bytes
Versions: 4
Compression:
Stored size: 987 Bytes
Contents
grammar TOML::Document include TOML::Primitive include TOML::Arrays rule document (comment | table_array | keygroup | keyvalue | line_break)* end rule table_array (space? '[[' ((key "."?)+|'"'(space? key space? "."?)+'"') ']]' space? comment?) <TOML::TableArrayParser> end rule keygroup (space? '[' ((key "."?)+|'"'(space? key space? "."?)+'"') ']' space? comment?) <TOML::KeygroupParser> end rule keyvalue (space? key space? '=' space? v:(toml_values) comment?) <TOML::KeyvalueParser> end rule inline_table (space? '{' (keyvalue (',' keyvalue)*)? space? '}' ) <TOML::InlineTableParser> end rule inline_table_array ("[" array_comments inline_table_array_elements space ","? array_comments "]" indent?) <TOML::InlineTableArrayParser> end rule inline_table_array_elements (inline_table (space "," array_comments inline_table)*) end rule toml_values primitive | inline_table | array | inline_table_array end end
Version data entries
4 entries across 4 versions & 1 rubygems