Skip to main content

Module arg_calls

Module arg_calls 

Source
Expand description

Argument Call Module

Constantsยง

MAX_ARG_RESOLUTION_ITERATIONS ๐Ÿ”’
Maximum iterations allowed when resolving argument references through the scope chain. Prevents infinite loops when circular argument references exist (e.g., arg1 -> arg2 -> arg1).
MAX_BUBBLE_ARG_ITERATIONS ๐Ÿ”’
Maximum iterations for the argument bubbling loop in bubble_arg_call. Prevents infinite loops when bubbling arguments up through nested macro calls.

Functionsยง

bubble_arg_call
Resolves a macro argument reference and generates its bytecode.
resolve_argument_through_scope ๐Ÿ”’
Resolves an argument reference to the actual macro name it represents.