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

Function Parse

parse/parse.go:36–40  ·  view source on GitHub ↗

Parse parses the string and returns a Tree.

(buf string)

Source from the content-addressed store, hash-verified

34
35// Parse parses the string and returns a Tree.
36func Parse(buf string) (*Tree, error) {
37 t := new(Tree)
38 t.scanner = new(scanner)
39 return t.Parse(buf)
40}
41
42// Parse parses the string buffer to construct an ast
43// representation for expansion.

Callers 2

ParseFunction · 0.92
TestParseFunction · 0.70

Calls 1

ParseMethod · 0.80

Tested by 1

TestParseFunction · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…