pub fn statement_gen<'a>(
evm_version: &EVMVersion,
s: &Statement,
contract: &'a Contract,
macro_def: &'a MacroDefinition,
scope_mgr: &mut ScopeManager<'a>,
offset: &mut usize,
jump_table: &mut JumpTable,
label_indices: &mut LabelIndices,
table_instances: &mut Jumps,
utilized_tables: &mut Vec<TableDefinition>,
embedded_tables: &mut BTreeMap<String, usize>,
starting_offset: usize,
relax_jumps: bool,
) -> Result<(BytecodeSegments, Vec<Option<(usize, usize)>>), CodegenError>Expand description
Generates the respective Bytecode for a given Statement Returns a tuple of (bytes, spans) where spans are optional source positions