Skip to main content

Module node

Module node 

Source
Expand description

The Node — anything we analyze. Today a source file (kind == "file"), later a folder / module / function / variable / line, with no model change.

Structs§

Node

Constants§

EXTERNAL
The node kind for a third-party (external) dependency node.
FILE
The node kind for a source file — the unit every plugin analyzes today. One source of truth for the literal so plugins don’t sprinkle "file".

Type Aliases§

NodeId
Stable string key for a node. Scheme is the plugin’s choice, e.g. file:{path} for a source file, ext:{name} for an external library.