Skip to main content

Module source

Module source 

Source
Expand description

Source parsing contracts owned by the engine boundary.

Modules§

inventory
Source inventory walking for coverage and upload surfaces.
similar_code
On-demand, transient function extraction for local similar-code inference.

Structs§

ModuleInfo
Extracted module information from a single file.
ParseResult
Result of parsing all files, including incremental cache statistics.
SourceReadFailure
A discovered source that could not be read as UTF-8 text.

Functions§

is_generated_file
Whether the file at path with the text source is generated code: a generator writes it again on its next run, so an edit of it does not last.
suppressions_from_text
Parse the fallow-ignore-next-line and fallow-ignore-file comments of the raw source text of the file at path. Unknown tokens are dropped. A marker inside a string or template literal of the file’s scripts has no effect.