Coco Imports

JSONReference
Properties:$ref (String) –
NamedReference
Properties:
  • reference (JSONReference) –
  • fully_qualified_name (String) –
Index

Contains information about the dependency graph of a Coco program, including details of package dependencies, as well as module-level dependencies.

Properties:packages (Array[Package]) –
Package
Properties:
  • dependencies (Array[NamedReference]) – The direct dependencies (i.e. other packages) of this package.
  • name (String) –
  • modules (Array[Module]) – All modules that are included in this package.
Module
Properties:
  • qualified_name (String) –
  • relative_file_name (String) – The file name of this package, relative to this package’s Coco.toml file.
  • imports (Array[Import]) –
Import
All Of:NamedReference
Properties:is_stdlib (Boolean) – If true, this file is part of Coco’s standard library.