Skip to main content

Module code_unit

Module code_unit 

Source
Expand description

CodeUnit — the atomic element of the code graph.

A code unit represents any identifiable piece of code: a function, class, module, import, test, or documentation block.

Structs§

CodeUnit
A single code unit — the atomic element of the code graph.
CodeUnitBuilder
Builder for constructing CodeUnit instances with optional fields.

Enums§

CodeUnitType
The type of code unit stored in a node.
Visibility
Symbol visibility/accessibility.