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

Function NewStringNodeToken

expr/node.go:773–775  ·  view source on GitHub ↗
(t lex.Token)

Source from the content-addressed store, hash-verified

771 return &StringNode{Text: text}
772}
773func NewStringNodeToken(t lex.Token) *StringNode {
774 return &StringNode{Text: t.V, Quote: t.Quote}
775}
776func NewStringNoQuoteNode(text string) *StringNode {
777 return &StringNode{Text: text, noQuote: true}
778}

Callers 2

vMethod · 0.85
FuncMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected