IsDMLKeyword checks if a given string is a DML keyword
(s string)
| 18 | |
| 19 | // IsDMLKeyword checks if a given string is a DML keyword |
| 20 | func (k *Keywords) IsDMLKeyword(s string) bool { |
| 21 | _, ok := k.DMLKeywords[s] |
| 22 | return ok |
| 23 | } |
| 24 | |
| 25 | // GetDMLKeywordType returns the token type for a DML keyword |
| 26 | func (k *Keywords) GetDMLKeywordType(s string) (models.TokenType, bool) { |
no outgoing calls