MCPcopy Create free account
hub / github.com/aspizu/goboscript / pre_process

Method pre_process

src/translation_unit.rs:70–72  ·  view source on GitHub ↗
(&mut self, stdlib: &StandardLibrary)

Source from the content-addressed store, hash-verified

68 }
69
70 pub fn pre_process(&mut self, stdlib: &StandardLibrary) -> Result<(), Vec<Diagnostic>> {
71 self.parse(0, stdlib)
72 }
73
74 pub fn get_text(&self) -> &str {
75 str::from_utf8(&self.text).unwrap()

Callers 1

newMethod · 0.80

Calls 1

parseMethod · 0.80

Tested by

no test coverage detected