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

Method get_list

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

Source from the content-addressed store, hash-verified

93 }
94
95 pub fn get_list(&self, name: &str) -> Option<&List> {
96 self.sprite
97 .lists
98 .get(name)
99 .or_else(|| self.stage.and_then(|stage| stage.lists.get(name)))
100 }
101
102 pub fn get_struct(&self, name: &str) -> Option<&Struct> {
103 self.sprite

Callers 2

qualify_nameMethod · 0.45
list_lengthMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected