Module statements_locations

Source

Structs§

StatementsLocations
The locations in the Cairo source code which caused a statement to be generated.

Functions§

file_module_absolute_identifier
This function returns a fully qualified path to the file module. None should be returned only for compiler tests where files of type VirtualFile may be non generated files.
function_identifier_relative_to_file_module
Returns the path (modules and impls) to the function in the file. The path is relative to the file module.
maybe_code_location
Returns a location in the user file corresponding to the given StableLocation. It consists of a full path to the file and a text span in the file.
maybe_containing_function_identifier
Returns an identifier of the function that contains the given StableLocation. It is a fully qualified path to the function which contains:
maybe_containing_function_identifier_for_tests
Returns an identifier of the function that contains the given StableLocation. It is a fully qualified path to the function which contains: