MCPcopy Create free account
hub / github.com/arialang/aria / function

Method function

compiler-lib/src/scope.rs:520–522  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

518 }
519
520 pub fn function(&self) -> Self {
521 Self::FunctionRoot(Rc::new(FunctionRootScope::root_function(self.clone())))
522 }
523
524 pub fn closure(&self, dest: Rc<BasicBlock>) -> Self {
525 Self::FunctionRoot(Rc::new(FunctionRootScope::closure((self.clone(), dest))))

Callers 1

do_compileMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected