Skip to main content

Module builtins

Module builtins 

Source
Expand description

Port of src/validation/compiled/builtins.ts.

Constants§

BUILTIN_TYPES
the types validated by the code of match_property, before their definition (if any): the compiled matchers call match_property() for them (see Node::Leaf). the other types are compiled from their definition. keep in sync with match_property() and with its calc() types
RAW_TYPES
the built in types that read the whitespace or the tokens after the value being matched: the compiled matchers skip the whitespace, the interpreter validates the values of these types

Functions§

is_builtin_type
true if the type is built in, see BUILTIN_TYPES
is_raw_type
true if the type reads the whitespace, see RAW_TYPES