Skip to main content

Module analysis

Module analysis 

Source

Re-exportsยง

use super::CoverageItem; ๐Ÿ”’
use super::CoverageItemKind; ๐Ÿ”’
use super::RevertGuard; ๐Ÿ”’
use super::SourceLocation; ๐Ÿ”’
use alloy_primitives::map::HashMap; ๐Ÿ”’
use foundry_common::TestFunctionExt; ๐Ÿ”’
use foundry_compilers::ProjectCompileOutput; ๐Ÿ”’
use solar::ast; ๐Ÿ”’
use solar::ast::ExprKind; ๐Ÿ”’
use solar::ast::ItemKind; ๐Ÿ”’
use solar::ast::StmtKind; ๐Ÿ”’
use solar::ast::yul; ๐Ÿ”’
use solar::data_structures::Never; ๐Ÿ”’
use solar::data_structures::map::FxHashMap; ๐Ÿ”’
use solar::interface::RelativeBytePos; ๐Ÿ”’
use solar::interface::Span; ๐Ÿ”’
use solar::interface::sym; ๐Ÿ”’
use solar::sema::Gcx; ๐Ÿ”’
use solar::sema::hir; ๐Ÿ”’
use std::ops::ControlFlow; ๐Ÿ”’
use std::ops::Range; ๐Ÿ”’
use std::path::PathBuf; ๐Ÿ”’
use std::sync::Arc; ๐Ÿ”’
use rayon::prelude::*; ๐Ÿ”’

Structsยง

AnchorHints ๐Ÿ”’
Optional recovery evidence, kept outside ordinary report items.
IfArms ๐Ÿ”’
The source spans of the arms of an if statement.
PendingRevertGuard ๐Ÿ”’
ResolvedEmptySpecialFunction ๐Ÿ”’
SourceAnalysis
Coverage source analysis.
SourceFiles
A list of sources from one compiler build.
SourceVisitor ๐Ÿ”’
A visitor that walks the AST of a single contract and finds coverage items.
SourceVisitorCheckpoint ๐Ÿ”’
TernaryArms ๐Ÿ”’
The source spans of the arms of a ternary expression.
TernaryVisitor ๐Ÿ”’
Walks all expression shapes, adding only ternary decisions. Statement coverage remains owned by the enclosing statement or the ordinary expression visitor.

Enumsยง

BranchKind ๐Ÿ”’
The kind of a branch whose anchors depend on more than its source span.
EmptySpecialFunctionKind ๐Ÿ”’

Functionsยง

has_statements ๐Ÿ”’
is_regular_call ๐Ÿ”’
resolve_empty_special_functions ๐Ÿ”’
stmt_has_statements ๐Ÿ”’
storage_alias_body ๐Ÿ”’
Only source-level aliases, without calls, control flow, or modifiers, are mandatory on every normal return. Bytecode must independently prove a side-effect-free, straight-line return.