type Uses
import bend-lint-api@0.2.0.0/linter/lint.bend as Lintimport Base
import bend-lint-api@0.2.0.0/shared/tables.bend as Tables
568# What the declarations of a top-level declaration are read with: the program's files (one of them is what an import
569# loads), the uses of global names in the files the declarations are read in, by name, the uses of the declaration's
570# binders, by binder (each last first), and what uses its file's imports.
571type Uses is Data:
572 Uses{
573 sources: List<&2, Source>,
574 globals: Map<&2, List<&2, Node>>,
575 binders: Tables.Table<List<&2, Node>>,
576 imported: Imported
577 }