MCPcopy Create free account
hub / github.com/drone/envsubst / newTextNode

Function newTextNode

parse/node.go:68–70  ·  view source on GitHub ↗

newTextNode returns a new TextNode.

(text string)

Source from the content-addressed store, hash-verified

66
67// newTextNode returns a new TextNode.
68func newTextNode(text string) *TextNode {
69 return &TextNode{Value: text}
70}
71
72// newListNode returns a new ListNode.
73func newListNode(nodes ...Node) *ListNode {

Callers 2

parseAnyMethod · 0.85
parseParamMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…