Module source_util

Module source_util 

Source
Expand description

The implementation of built-in macros which relate to the file system.

Functionsยง

expand_column ๐Ÿ”’
Expand column!() to the current column number.
expand_file ๐Ÿ”’
Expand file!() to the current filename.
expand_include ๐Ÿ”’
Expand include!($input).
expand_include_bytes ๐Ÿ”’
Expand include_bytes!($input) to the content of the file given by path $input.
expand_include_str ๐Ÿ”’
Expand include_str!($input) to the content of the UTF-8-encoded file given by path $input as a string literal.
expand_line ๐Ÿ”’
Expand line!() to the current line number.
expand_mod ๐Ÿ”’
Expand module_path!() to (a textual representation of) the current module path.
expand_stringify ๐Ÿ”’
Expand stringify!($input).
find_path_suggestion ๐Ÿ”’
load_binary_file ๐Ÿ”’