Retrieve the index of a function in the function store by its `name`.
(&self, name: &str)
| 34 | |
| 35 | /// Retrieve the index of a function in the function store by its `name`. |
| 36 | pub fn index_of(&self, name: &str) -> Option<FuncIndex> { |
| 37 | self.function_names.get(name).cloned() |
| 38 | } |
| 39 | |
| 40 | /// Retrieve a function by its index in the function store. |
| 41 | pub fn get_by_index(&self, index: FuncIndex) -> Option<&'a Function> { |
no test coverage detected