(&self)
| 418 | } |
| 419 | |
| 420 | pub fn expect_function(&self) -> &AstNodeRef<ast::StmtFunctionDef> { |
| 421 | self.as_function().expect("expected function") |
| 422 | } |
| 423 | |
| 424 | pub fn as_type_alias(&self) -> Option<&AstNodeRef<ast::StmtTypeAlias>> { |
| 425 | match self { |
no test coverage detected