MCPcopy Create free account
hub / github.com/araddon/qlbridge / NewStringNoQuoteNode

Function NewStringNoQuoteNode

expr/node.go:776–778  ·  view source on GitHub ↗
(text string)

Source from the content-addressed store, hash-verified

774 return &StringNode{Text: t.V, Quote: t.Quote}
775}
776func NewStringNoQuoteNode(text string) *StringNode {
777 return &StringNode{Text: text, noQuote: true}
778}
779func NewStringNeedsEscape(t lex.Token) *StringNode {
780 newVal, needsEscape := StringUnEscape('"', t.V)
781 return &StringNode{Text: newVal, Quote: t.Quote, needsEscape: needsEscape}

Callers 1

vMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected