Skip to main content

Module resolve

Module resolve 

Source
Expand description

Expression / argument resolution: syn::Expr β†’ semantic values.

The numeric-expression layer is parsed by the pest grammar (pest_conv.rs); everything that still needs rustc’s type context or syn structure lives here: places (via place.rs), const generics, builtin integer bounds, the x.len() sugar, tag argument types/targets, and ValidNum predicates.

FunctionsΒ§

build_interval_predicates πŸ”’
expr_to_pest πŸ”’
int_type_min_max πŸ”’
parse_builtin_const πŸ”’
parse_const_param πŸ”’
parse_contract_expr πŸ”’
parse_interval_predicates πŸ”’
parse_numeric_predicate πŸ”’
parse_string_interval πŸ”’
parse_target_arg πŸ”’
parse_type πŸ”’
parse_valid_num πŸ”’
resolve_type_name πŸ”’
unwrap_array_expr πŸ”’
Extract the inner type from an Expr::Array (the [T] notation in SplitTransmute([T], [U])), then resolve it via parse_type.