MCPcopy Create free account
hub / github.com/ControlCplusControlV/Scribe / ExprSwitch

Class ExprSwitch

crates/papyrus/src/types.rs:125–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123// }
124#[derive(Clone, PartialEq, Eq, Debug)]
125pub struct ExprSwitch {
126 pub default_case: Option<ExprBlock>,
127 pub inferred_type: Option<YulType>,
128 pub expr: Box<Expr>,
129 pub cases: Vec<ExprCase>,
130}
131
132//Struct to represent a case block during a switch statement
133//Ex. case 0 { result := 1 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected