Returns `true` if the current token is a valid start of a mapping pattern.
(&self)
| 60 | |
| 61 | /// Returns `true` if the current token is a valid start of a mapping pattern. |
| 62 | pub(super) fn at_mapping_pattern_start(&self) -> bool { |
| 63 | self.at_ts(MAPPING_PATTERN_START_SET) || self.at_soft_keyword() |
| 64 | } |
| 65 | |
| 66 | /// Entry point to start parsing a pattern. |
| 67 | /// |
no test coverage detected