Skip to main content

Module modifier_outcome

Module modifier_outcome 

Source
Expand description

Control-flow summary of modifier bodies with respect to the _ placeholder.

Re-exportsยง

use super::is_literal_false; ๐Ÿ”’
use solar::sema::Gcx; ๐Ÿ”’
use solar::sema::builtins::Builtin; ๐Ÿ”’
use solar::sema::hir::Block; ๐Ÿ”’
use solar::sema::hir::Expr; ๐Ÿ”’
use solar::sema::hir::ExprKind; ๐Ÿ”’
use solar::sema::hir::LoopSource; ๐Ÿ”’
use solar::sema::hir::Stmt; ๐Ÿ”’
use solar::sema::hir::StmtKind; ๐Ÿ”’

Structsยง

Outcome
Summary of how control flow can leave a statement or block without having executed the placeholder (_) or reverted.

Functionsยง

block_outcome
call_outcome ๐Ÿ”’
Classifies a statement-level call expression that terminates the current path before reaching _, if any. Covers both the Solidity revert/revert(...) builtins and the Yul halting builtins reachable when recursing into an assembly { .. } block.
stmt_outcome ๐Ÿ”’