Skip to content

Maps & Lookup Tables

vctx supports map literals, which are useful for creating lookup tables or configuration maps.

{
key: value,
key2: value2
}
map_literal: "{" _list{map_entry}? "}"
map_entry: literal ":" literal

These are typically used within function definitions or attributes to pass structured static data.