pub type Function = GenFunction<StatementIdx>;
Aliased Type§
struct Function {
pub id: FunctionId,
pub signature: FunctionSignature,
pub params: Vec<Param>,
pub entry_point: StatementIdx,
}
Fields§
§id: FunctionId
The name of the function.
signature: FunctionSignature
The parameter types and return types.
params: Vec<Param>
The parameters of the function.
entry_point: StatementIdx
The statement id where the function starts.