Returns `true` if the current token is the start of a simple, compound or expression statement.
(&self)
| 93 | /// Returns `true` if the current token is the start of a simple, compound or expression |
| 94 | /// statement. |
| 95 | pub(super) fn at_stmt(&self) -> bool { |
| 96 | self.at_ts(STMTS_SET) || self.at_soft_keyword() |
| 97 | } |
| 98 | |
| 99 | /// Checks if the parser is currently positioned at the start of a type parameter. |
| 100 | pub(super) fn at_type_param(&self) -> bool { |
no test coverage detected