MCPcopy Index your code
hub / github.com/explodingcamera/tinywasm / wast

Method wast

crates/cli/src/wast_runner.rs:625–630  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

623 }
624
625 pub fn wast(&self) -> wast::parser::Result<WastBuffer<'a>> {
626 let mut lexer = wast::lexer::Lexer::new(self.contents);
627 lexer.allow_confusing_unicode(true);
628 let parse_buffer = wast::parser::ParseBuffer::new_with_lexer(lexer)?;
629 Ok(WastBuffer { buffer: parse_buffer })
630 }
631}
632
633pub struct WastBuffer<'a> {

Callers 1

run_fileMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected