MCPcopy
hub / github.com/MadAppGang/dingo / Contains

Method Contains

pkg/parser/errors.go:232–234  ·  view source on GitHub ↗

Contains checks if a token kind is in the sync set

(kind tokenizer.TokenKind)

Source from the content-addressed store, hash-verified

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

Calls

no outgoing calls