Helper method to check if we're inside a function that can handle errors
(&self)
| 896 | |
| 897 | // Helper method to check if we're inside a function that can handle errors |
| 898 | fn in_error_function(&self) -> bool { |
| 899 | self.error_resolver |
| 900 | .as_ref() |
| 901 | .map(|f| f.in_error_function) |
| 902 | .unwrap_or(false) |
| 903 | } |
| 904 | |
| 905 | fn parse_function_return(&mut self) -> (Option<Token<'gc>>, Vec<Token<'gc>>) { |
| 906 | let mut return_type = None; |
no test coverage detected