parseStringLiteral parses a string literal
()
| 1013 | |
| 1014 | // parseStringLiteral parses a string literal |
| 1015 | func (p *Parser) parseStringLiteral() string { |
| 1016 | if !p.isStringLiteral() { |
| 1017 | return "" |
| 1018 | } |
| 1019 | value := p.currentToken.Token.Value |
| 1020 | p.advance() |
| 1021 | return value |
| 1022 | } |
| 1023 | |
| 1024 | // parseQualifiedName parses a potentially schema-qualified name (e.g., schema.table or db.schema.table). |
| 1025 | // Returns the full dotted name as a string. Supports up to 3-part names. |
no test coverage detected