Module cairo_lang_sierra_generator::replace_ids
source · Structs
Replaces
cairo_lang_sierra::ids::{ConcreteLibfuncId, ConcreteTypeId, FunctionId}
with a dummy
ids whose debug string is the string representing the expanded information about the id.
For Libfuncs and Types - that would be recursively opening their generic arguments, for
functions - that would be getting their original name. For example, while the original debug
string may be [6]
, the resulting debug string may be:Traits
Functions
Replaces
cairo_lang_sierra::ids::{ConcreteLibfuncId, ConcreteTypeId, FunctionId}
with a dummy
ids whose debug string is the string representing the expanded information about the id.
For Libfuncs and Types - that would be recursively opening their generic arguments, for
functions - that would be getting their original name. For example, while the original debug
string may be [6]
, the resulting debug string may be: