Skip to main content

Module config

Module config 

Source
Expand description

Port of src/validation/config.ts.

Structs§

ValidationSyntaxRule
parsed syntax rule of an at-rule (or a group)

Functions§

get_parsed_syntax
parsed syntax of a definition, shared by the names that share the definition
get_syntax
the raw syntax of a type or a function
get_syntax_config
the validation configuration
get_syntax_rule
syntax rule of an at-rule: its prelude, its block, its descriptors
has_syntax
true if a type or a function syntax is defined
syntax_key
the key of the definition of a parsed syntax (declarations/width, types/color), see scripts/compile_syntax.rs. None if the syntax is not the syntax of a declaration, a type or a function (a descriptor, …)