MCPcopy Create free account
hub / github.com/arcjet/gravity / Func

Class Func

cmd/gravity/src/codegen/func.rs:38–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38pub struct Func<'a> {
39 direction: Direction<'a>,
40 args: Vec<String>,
41 result: GoResult,
42 tmp: usize,
43 body: Tokens<Go>,
44 block_storage: Vec<Tokens<Go>>,
45 blocks: Vec<(Tokens<Go>, Vec<Operand>)>,
46 sizes: &'a SizeAlign,
47}
48
49impl<'a> Func<'a> {
50 /// Create a new exported function.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected