Crate paralegal_flow

Source
Expand description

Ties together the crate and defines command line options.

While this is technically a β€œlibrary”, it only is so for the purposes of being able to reference the same code in the two executables paralegal_flow and cargo-paralegal-flow (a structure suggested by rustc_plugin).

Re-exportsΒ§

ModulesΒ§

  • Data-and control flow analyzer and inliner.
  • args πŸ”’
    Command line arguments and parsing.
  • Helpers for debugging
  • discover πŸ”’
    MIR visitor (CollectingVisitor) that populates the [MarkerDatabase] and discovers functions marked for analysis.
  • stats πŸ”’
  • Utility functions, general purpose structs and extension traits

MacrosΒ§

  • Conveniently create a vector of Symbols. This way you can just write sym_vec!["s1", "s2", ...] and this macro will make sure to call Symbol::intern

StructsΒ§

EnumsΒ§

  • CrateHandling πŸ”’
  • The enum Either with variants Left and Right is a general purpose sum type with two cases.

ConstantsΒ§

FunctionsΒ§