Skip to main content

Crate codeint_model

Crate codeint_model 

Source

Modules§

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

Macros§

empty_framework_profile_guest_methods
empty_framework_profile_plugin_methods
empty_v05_guest_methods
impl_builtin_language_plugin

Structs§

CodeModel
DeclaredDep
One external dependency declared in a package manifest.
DependencyManifest
DependencyManifestOwner
Ownership mapping between a dependency manifest file and its Workspace package root.
ExternalFinding
ExternalMetricMeasurement
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.
FrameworkProfileResult
The resolved Framework profiles and package-level conventions for one Workspace package.
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.
InvalidRepoPath
LanguageFacts
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.
ManifestUsedDep
MetricDescriptor
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.
ReferenceRanges
RepoPath
RuntimeImport
ScopeAnalysis
Result of cross-file scope analysis for one (package-root, dialect) group.
ScopeSummary
A language-neutral summary emitted by cross-file scope analysis.
SkippedFile
SkippedManifest
SourceFile
SourceSetModel
SourceSets
StableHasher
SummaryField
One key-value field in a language-neutral scope summary.
Token
One token of a source file, so never whitespace or a comment.
UniversalToolingPaths
Workspace

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.
ImportResolution
InvalidReferenceRange
LanguagePluginError
LowerError
Metric
MetricCapability
MetricKind
MetricPluginError
MetricScope
NewFindingsRule
Package
ResolveError
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.
WorkspaceError

Constants§

STANDARD_GENERATED_MARKERS
STRUCTURAL_REPORT_KEYS

Traits§

LanguagePlugin
MetricPlugin

Functions§

active_profiles_for_path
choose_manifests
contains_ascii_ignore_case
empty_file_model
empty_framework_profile_result
empty_manifest_analysis
empty_scope_analysis
has_any_ascii_marker
has_folder_named
has_generated_header_marker
has_generated_header_marker_with_extra
is_reserved_report_key
is_valid_external_package_name
path_file_name
require_extension
resolve_runtime_imports
settle_source_set
token_text_hash
validate_declared_dependencies
validate_entry_points
validate_file_diagnostics
validate_flagged_lines
validate_framework_profile_result
validate_hazard_lines
validate_manifest_analysis
validate_scope_analysis
validate_workspace_packages