Contains checks if a token kind is in the sync set
(kind tokenizer.TokenKind)
| 230 | |
| 231 | // Contains checks if a token kind is in the sync set |
| 232 | func (s SyncSet) Contains(kind tokenizer.TokenKind) bool { |
| 233 | return s[kind] |
| 234 | } |
| 235 | |
| 236 | // errorHints provides context-aware hints for common error situations |
| 237 | var errorHints = map[tokenizer.TokenKind]string{ |
no outgoing calls