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

Method get_struct

src/codegen/sb3.rs:102–107  ·  view source on GitHub ↗
(&self, name: &str)

Source from the content-addressed store, hash-verified

100 }
101
102 pub fn get_struct(&self, name: &str) -> Option<&Struct> {
103 self.sprite
104 .structs
105 .get(name)
106 .or_else(|| self.stage.and_then(|stage| stage.structs.get(name)))
107 }
108
109 pub fn get_enum(&self, name: &str) -> Option<&Enum> {
110 self.sprite

Callers 9

proc_call_implMethod · 0.45
qualify_fieldMethod · 0.45
var_declarationMethod · 0.45
local_var_declarationMethod · 0.45
list_declarationMethod · 0.45
procMethod · 0.45
funcMethod · 0.45
list_lengthMethod · 0.45
func_callMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected