Skip to main content

Module inline

Module inline 

Source

Re-exportsยง

use std::collections::BTreeSet; ๐Ÿ”’
use crate::Config; ๐Ÿ”’
use alloy_primitives::map::HashMap; ๐Ÿ”’
use figment::Figment; ๐Ÿ”’
use figment::Profile; ๐Ÿ”’
use figment::Provider; ๐Ÿ”’
use figment::value::Dict; ๐Ÿ”’
use figment::value::Map; ๐Ÿ”’
use figment::value::Value; ๐Ÿ”’
use foundry_compilers::ProjectCompileOutput; ๐Ÿ”’
use foundry_evm_networks::NetworkVariant; ๐Ÿ”’
use itertools::Itertools; ๐Ÿ”’

Modulesยง

natspec ๐Ÿ”’

Structsยง

HalmosArg
InlineConfig
Represents per-test configurations, declared inline as structured comments in Solidity test files. This allows to create configs directly bound to a solidity test.
InlineConfigError
Wrapper error struct that catches config parsing errors, enriching them with context information reporting the misconfigured line.
InlineConfigProvider
[figment::Provider] for InlineConfig at a given contract and function level.
NatSpec
Convenient struct to hold in-line per-test configurations
SolarParser
SolcParser

Enumsยง

HalmosArgParser
HalmosArrayLengths
InlineConfigErrorKind
Errors returned when parsing inline config.

Constantsยง

HALMOS_ARGS
HALMOS_CONFIG_PREFIX
INLINE_CONFIG_PREFIX ๐Ÿ”’

Functionsยง

contains_inline_config
emit_halmos_arg
extend_data_map ๐Ÿ”’
extend_dict ๐Ÿ”’
extend_value ๐Ÿ”’
halmos_arg
inline_value_for_exact_profile ๐Ÿ”’
inline_value_for_profile ๐Ÿ”’
parse_config_values ๐Ÿ”’
parse_halmos_array_lengths
parse_halmos_length_set
parse_halmos_lengths
push_halmos_array_lengths
push_halmos_lengths
split_halmos_args
split_halmos_lengths_entries
toml_string
translate_halmos_config

Type Aliasesยง

DataMap ๐Ÿ”’