Skip to main content

Module language

Module language 

Source
Expand description

The interface a Language plugin exports: the file extensions it reads, and the Code model of each such file.

Structs§

DeclaredDep
One external dependency declared in a package manifest.
DependencyManifestOwner
Ownership mapping between a dependency manifest file and its Workspace package root.
FileDiagnostic
One non-fatal diagnostic emitted while lowering a source file.
FileHazards
Extra Hazard lines discovered for one file during cross-file scope analysis.
FileModel
The Code model of one source file.
FileScopeArtifact
One file’s opaque scope artifact passed back into analyze-scope.
FlaggedLine
A source line that matches a Flagged-line rule of the Language plugin.
FrameworkProfileResult
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.
FunctionCoverage
Coverage counts for one function from Coverage reports.
HazardLine
A source line that matches a Hazard-line rule of the Language plugin. Never holds source text.
ImportEdge
One import that runs when the source file runs.
ImportRequest
One runtime import to resolve.
Manifest
A file that a Language plugin reads to find workspace packages and resolve imports, such as a package.json or tsconfig.json file, as the host read it.
ManifestAnalysis
Consolidated manifest analysis for one repository snapshot in a single pass.
PackageDependency
An external dependency referenced inside a manifest or script rather than a source-file import.
PackageFrameworkProfiles
Active Framework profiles for one Workspace package.
ReferenceRange
The published typical value of one Metric for codebases in the language of the Language plugin.
ScopeAnalysis
Result of cross-file scope analysis for one (package-root, dialect) group.
ScopeSummary
A language-neutral summary emitted by cross-file scope analysis.
SummaryField
One key-value field in a language-neutral scope summary.
Token
One token of a source file, so never whitespace or a comment.
WorkspaceError
Why a Language plugin could not parse one manifest.

Enums§

DepKind
How a package manifest declares an external dependency.
FrameworkProfileSelection
How the host asks a Language plugin to select Framework profiles for one Workspace package.
ImportKind
The runtime loading operation used by an import.
LowerError
Why a Language plugin cannot lower a file.
Resolution
Where a runtime import leads.
SourceSet
The group a source file belongs to. Every source file belongs to exactly one Source set, and every Metric reports each Source set separately.
TokenKind
What a token is to clone detection, by the rules of the Language plugin.

Traits§

Guest