pub struct CompiledFunctionsTableBuilder { /* private fields */ }Expand description
A builder for a CompiledFunctionsTable.
Implementations§
Source§impl CompiledFunctionsTableBuilder
impl CompiledFunctionsTableBuilder
Sourcepub fn push_func(
&mut self,
key: FuncKey,
func_loc: FunctionLoc,
src_loc: FilePos,
) -> &mut Self
pub fn push_func( &mut self, key: FuncKey, func_loc: FunctionLoc, src_loc: FilePos, ) -> &mut Self
Push a new entry into this builder.
Panics if the key or function location is out of order.
Sourcepub fn finish(self) -> CompiledFunctionsTable
pub fn finish(self) -> CompiledFunctionsTable
Finish construction of the CompiledFunctionsTable.