package parse

Import Path
	github.com/carapace-sh/carapace/third_party/github.com/drone/envsubst/parse (on go.dev)

Dependency Relation
	imports 3 packages, and imported by one package

Involved Source Files node.go parse.go scan.go
Package-Level Type Names (total 5)
/* sort by: | */
FuncNode represents a string function. Args []Node Name string Param string *FuncNode : Node
ListNode represents a list of nodes. Nodes []Node *ListNode : Node
Node is an element in the parse tree. *FuncNode *ListNode *TextNode
TextNode represents a string of text. Value string *TextNode : Node
Tree is the representation of a single parsed SQL statement. Root Node Parse parses the string buffer to construct an ast representation for expansion. func Parse(buf string) (*Tree, error) func (*Tree).Parse(buf string) (tree *Tree, err error)
Package-Level Functions (only one)
Parse parses the string and returns a Tree.
Package-Level Variables (total 5)
ErrBadSubstitution represents a substitution parsing error.
ErrMissingClosingBrace represents a missing closing brace "}" error.
ErrParseDefaultFunction represent the error when unable to parse a default function.
ErrParseFuncSubstitution represents the error when unable to parse the substitution within a function parameter.
ErrParseVariableName represents the error when unable to parse a variable name within a substitution.