Skip to main content

Module model

Module model 

Source
Expand description

Language-neutral code graph model shared by every extractor: containers (contracts / modules), callables (functions / modifiers / entries), state items (storage variables / accounts / resources / objects) and the edges between them. Call edges resolved purely from syntax keep their ambiguity explicit instead of pretending precision the parser does not have.

Structs§

CallEdge
Callable
CodeGraph
The complete index over one project root.
InheritEdge
LineSpan
1-based inclusive line span inside a source file.
Module
StateEdge
StateItem

Enums§

AccessKind
CallableKind
CalleeRef
A syntactically resolved callee. Name-based resolution over tree-sitter cannot always pick a single target, so ambiguity is first-class.
Language
ModuleKind
ParentRef
StateKind