Skip to main content

parse_props

Function parse_props 

Source
pub fn parse_props(
    t: &Table,
    is_row: bool,
    refs: &mut Refs<'_>,
) -> Result<PropsOut>
Expand description

Table → props. Constructor-order specials first (dir from the node type, size before any style prop), then the Lua-shaped composites, then every schema row by its snake_case name. Unknown keys (type, value, label, children) fall through. refs is what a $name resolves through ([with_refs]).