C++: Document external package tables in dbscheme

This commit is contained in:
Ian Lynagh
2019-06-05 14:53:01 +01:00
parent 79b08d2792
commit a14379b860

View File

@@ -181,17 +181,24 @@ tokens(
int endColumn : int ref
);
/*
* Mapping of header files to packages
/**
* Information about packages that provide code used during compilation.
* The `id` is just a unique identifier.
* The `namespace` is typically the name of the package manager that
* provided the package (e.g. "dpkg" or "yum").
* The `package_name` is the name of the package, and `version` is its
* version (as a string).
*/
external_packages(
unique int id: @external_package,
string namespace : string ref, // "dpkg", "yum", ...
string namespace : string ref,
string package_name : string ref,
string version : string ref
);
/**
* Holds if File `fileid` was provided by package `package`.
*/
header_to_external_package(
int fileid : @file ref,
int package : @external_package ref