Expand description
Statement Bytecode Generation Module
Functionsยง
- evaluate_
expression_ ๐with_ context - Evaluates an expression with access to macro invocation context for resolving
<arg>calls - statement_
gen - Generates the respective Bytecode for a given Statement Returns a tuple of (bytes, spans) where spans are optional source positions
- substitute_
in_ ๐expression - Substitute loop variable in an expression
- substitute_
in_ ๐macro_ args - Substitute loop variable in macro invocation arguments, including nested invocations
- substitute_
loop_ ๐variable_ in_ statement - Substitute loop variable in a single statement
- substitute_
loop_ ๐variable_ in_ statements - Substitute loop variable in a list of statements
Type Aliasesยง
- Statement
GenResult ๐ - Type alias for statement generation result: (bytes, spans)