Module cranelift_codegen_meta::srcgen

source ยท
Expand description

Source code generator.

The srcgen module contains generic helper routines and classes for generating source code.

Macrosยง

  • fmtln ๐Ÿ”’
    A macro that simplifies the usage of the Formatter by allowing format strings.

Structsยง

Staticsยง

Functionsยง

  • _indent ๐Ÿ”’
    Compute the indentation of s, or None of an empty line.
  • parse_multiline ๐Ÿ”’
    Given a multi-line string, split it into a sequence of lines after stripping a common indentation. This is useful for strings defined with doc strings.