Module move_model::code_writer

source ·
Expand description

A helper for generating structured code.

TODO(wrwg): this should be moved somewhere else. It is currently contained here so its on the bottom of the dependency relation, and there is no utility crate where it could belong to.

Structs

  • A helper to emit code. Supports indentation and maintains source to target location information.
  • A label which can be created at the code writers current output position to later insert code at this position.