Module common

Module common 

Source

Modules§

hash_by_addr
serialize_map_to_array
type_map

Constants§

RED_ZONE 🔒
STACK_PER_RECURSION 🔒

Statics§

TAB_INCR

Functions§

arg_value
arg_values
Returns the values of the command-line options that match find_arg. The options are built-in to be of the form --arg=value or --arg value.
ensure_sufficient_stack
Grows the stack on demand to prevent stack overflow. Call this in strategic locations to “break up” recursive calls. E.g. most statement visitors can benefit from this.
pretty_display_list
Custom function to pretty-print elements from an iterator The output format is:
repeat_except_first
Yield None then infinitely many Some(x).