Expand description
The interface a Language plugin exports: the file extensions it reads, and the Code model of each such file.
Structs§
- Declared
Dep - One external dependency declared in a package manifest.
- Dependency
Manifest Owner - Ownership mapping between a dependency manifest file and its Workspace package root.
- File
Diagnostic - One non-fatal diagnostic emitted while lowering a source file.
- File
Hazards - Extra Hazard lines discovered for one file during cross-file scope analysis.
- File
Model - The Code model of one source file.
- File
Scope Artifact - One file’s opaque scope artifact passed back into
analyze-scope. - Flagged
Line - A source line that matches a Flagged-line rule of the Language plugin.
- Framework
Profile Result - The resolved Framework profiles and package-level conventions for one Workspace package.
- Function
- One function of a source file. A nested function is a function of its own and adds no decision points to the function around it.
- Function
Coverage - Coverage counts for one function from Coverage reports.
- Hazard
Line - A source line that matches a Hazard-line rule of the Language plugin. Never holds source text.
- Import
Edge - One import that runs when the source file runs.
- Import
Request - One runtime import to resolve.
- Manifest
- A file that a Language plugin reads to find workspace packages and resolve imports, such as a
package.jsonortsconfig.jsonfile, as the host read it. - Manifest
Analysis - Consolidated manifest analysis for one repository snapshot in a single pass.
- Package
Dependency - An external dependency referenced inside a manifest or script rather than a source-file import.
- Package
Framework Profiles - Active Framework profiles for one Workspace package.
- Reference
Range - The published typical value of one Metric for codebases in the language of the Language plugin.
- Scope
Analysis - Result of cross-file scope analysis for one
(package-root, dialect)group. - Scope
Summary - A language-neutral summary emitted by cross-file scope analysis.
- Summary
Field - One key-value field in a language-neutral scope summary.
- Token
- One token of a source file, so never whitespace or a comment.
- Workspace
Error - Why a Language plugin could not parse one manifest.
Enums§
- DepKind
- How a package manifest declares an external dependency.
- Framework
Profile Selection - How the host asks a Language plugin to select Framework profiles for one Workspace package.
- Import
Kind - The runtime loading operation used by an import.
- Lower
Error - Why a Language plugin cannot lower a file.
- Resolution
- Where a runtime import leads.
- Source
Set - The group a source file belongs to. Every source file belongs to exactly one Source set, and every Metric reports each Source set separately.
- Token
Kind - What a token is to clone detection, by the rules of the Language plugin.