From 221b8001ddbcf5194d8343e7b363fa19c44d9ed6 Mon Sep 17 00:00:00 2001 From: Marya Belanger Date: Tue, 26 Nov 2024 14:22:08 -0800 Subject: [PATCH 1/2] analysis context glossary entry --- src/_data/glossary.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/_data/glossary.yml b/src/_data/glossary.yml index 56dcd9bedc..c5af143e0f 100644 --- a/src/_data/glossary.yml +++ b/src/_data/glossary.yml @@ -1,3 +1,19 @@ +- term: "Analysis context" + short_description: |- + A representation of a set of code that should be analyzed using the same + sources of metadata. + long_description: |- + An _analysis context_ is a representation of a set of code that should be + analyzed using the same sources of metadata (same `package_config.json` file). + That set of code typically corresponds to a package. + related_links: + - text: "Customizing static analysis" + link: "/tools/analysis/" + - text: "Performing analysis" + link: "https://github.com/dart-lang/sdk/blob/main/pkg/analyzer/doc/tutorial/analysis.md" + labels: + - "analyzer" + - term: "Assist" short_description: |- An automated, local code edit targeted at making common improvements to code. From 4a27c6725f4f984bc6b710a4c08fd214ffb99588 Mon Sep 17 00:00:00 2001 From: Marya Belanger Date: Wed, 27 Nov 2024 10:57:27 -0800 Subject: [PATCH 2/2] link package_config definition to explain metadata --- src/_data/glossary.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/_data/glossary.yml b/src/_data/glossary.yml index c5af143e0f..28409909b8 100644 --- a/src/_data/glossary.yml +++ b/src/_data/glossary.yml @@ -4,7 +4,8 @@ sources of metadata. long_description: |- An _analysis context_ is a representation of a set of code that should be - analyzed using the same sources of metadata (same `package_config.json` file). + analyzed using the same sources of metadata + (same [`package_config.json`](/tools/pub/glossary#system-cache) file). That set of code typically corresponds to a package. related_links: - text: "Customizing static analysis"