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

Method parseStringLiteral

pkg/sql/parser/parser.go:1015–1022  ·  view source on GitHub ↗

parseStringLiteral parses a string literal

()

Source from the content-addressed store, hash-verified

1013
1014// parseStringLiteral parses a string literal
1015func (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.

Callers 1

Calls 2

isStringLiteralMethod · 0.95
advanceMethod · 0.95

Tested by

no test coverage detected