MCPcopy Create free account
hub / github.com/ajitpratap0/GoSQLX / IsCompoundKeyword

Method IsCompoundKeyword

pkg/sql/keywords/compound.go:20–23  ·  view source on GitHub ↗

IsCompoundKeyword checks if a string is a compound keyword

(s string)

Source from the content-addressed store, hash-verified

18
19// IsCompoundKeyword checks if a string is a compound keyword
20func (k *Keywords) IsCompoundKeyword(s string) bool {
21 _, ok := k.CompoundKeywords[s]
22 return ok
23}
24
25// GetCompoundKeywordType returns the token type for a compound keyword
26func (k *Keywords) GetCompoundKeywordType(s string) (models.TokenType, bool) {

Calls

no outgoing calls