Maps & Lookup Tables
Map Literals
Section titled “Map Literals”vctx supports map literals, which are useful for creating lookup tables or configuration maps.
Syntax
Section titled “Syntax”{ key: value, key2: value2}Grammar Definition
Section titled “Grammar Definition”map_literal: "{" _list{map_entry}? "}"map_entry: literal ":" literalThese are typically used within function definitions or attributes to pass structured static data.
Need an offline copy? Download Full Manual (.md)