isNumericLiteral checks if current token is a numeric literal (handles INT/NUMBER token types)
()
| 350 | |
| 351 | // isNumericLiteral checks if current token is a numeric literal (handles INT/NUMBER token types) |
| 352 | func (p *Parser) isNumericLiteral() bool { |
| 353 | if p.currentToken.Token.Type != models.TokenTypeUnknown { |
| 354 | return p.currentToken.Token.Type == models.TokenTypeNumber |
| 355 | } |
| 356 | return false |
| 357 | } |
| 358 | |
| 359 | // isDataTypeKeyword checks if current token is a SQL data type keyword |
| 360 | func (p *Parser) isDataTypeKeyword() bool { |
no outgoing calls
no test coverage detected