Skip to main content

Module analysis

Module analysis 

Source
Expand description

Cheatcode information, extracted from the syntactic and semantic analysis of the sources.

Re-exportsยง

use foundry_common::fmt::StructDefinitions; ๐Ÿ”’
use foundry_common::fmt::TypeDefMap; ๐Ÿ”’
use solar::sema; ๐Ÿ”’
use solar::sema::Compiler; ๐Ÿ”’
use solar::sema::Gcx; ๐Ÿ”’
use solar::sema::hir; ๐Ÿ”’
use std::sync::Arc; ๐Ÿ”’
use std::sync::OnceLock; ๐Ÿ”’
use thiserror::Error; ๐Ÿ”’

Structsยง

CheatcodeAnalysis
Provides cached, on-demand syntactic and semantic analysis of a completed Compiler instance.
StructDefinitionResolver ๐Ÿ”’
Generates a map of all struct definitions from the HIR using the resolved Ty system.

Enumsยง

AnalysisError
Represents a failure in one of the lazy analysis steps.