Debian Codegraph @

crates/wasmprinter/src/operand_stack_disabled.rs

raw
1 use wasmparser::{BinaryReader, OperatorsReader, Payload, Result};
2
3 pub enum Validator {}
4
5 impl Validator {
6 pub fn new() -> Option<Validator> {
7 None
8 }
9
10 pub fn payload(&mut self, _payload: &Payload<'_>) -> Result<()> {
11 match *self {}
12 }
13
14 pub fn next_func(&mut self) -> Option<FuncValidator> {
15 match *self {}
16 }
17 }
18
19 pub enum FuncValidator {}
20
21 impl FuncValidator {
22 pub fn read_locals(&mut self, _reader: BinaryReader<'_>) -> Result<()> {
23 match *self {}
24 }
25
26 pub fn visit_operator(&mut self, _reader: &OperatorsReader<'_>, _is_end: bool) -> Result<()> {
27 match *self {}
28 }
29
30 pub fn visualize_operand_stack(&self, _use_color: bool) -> anyhow::Result<String> {
31 match *self {}
32 }
33 }