package
0.11.2
Repository: https://github.com/tekwizely/run.git
Documentation: pkg.go.dev

# Functions

NewAST is a convenience method.
NewAttrExport is a convenience method for exporting attributes.
NewScopeBracketString is a convenience method.
NewScopeDBracketString is a convenience method.
NewScopeDParenString is a convenience method.
NewScopeParenString is a convenience method.
NewScopeValueNodeList is a convenience method.
NewScopeValueNodeList1 is a convenience method for wrapping a single value node.
NewVarExport is a convenience method for exporting variables.
ProcessAST processes an AST into a Runfile.
ProcessAstRunfile process an AST into an existing Runfile Assumes Runfile created via ProcessAST .

# Variables

ParseBytes is a conceit as we need a way for AST to invoke parsers for include functionality.

# Structs

Ast is the root ast container.
Cmd wraps a parsed command.
CmdAssert wraps a command assertion.
CmdConfig wraps a command config.
CmdOpt wraps a command option.
CmdRun wraps a command config RUN invocation.
ScopeAssert asserts the test, exiting with message on failure.
ScopeAttrAssignment wraps an attribute assignment.
ScopeAttrExport exports an attribute.
ScopeBracketString wraps a bracketed string.
ScopeDBracketString wraps a double-bracketed string.
ScopeDParenString wraps a double-paren string.
ScopeInclude includes other runfiles.
ScopeIncludeEnv includes .env files.
ScopeParenString wraps a paren-string.
ScopeValueEsc wraps an escape sequence.
ScopeValueNodeList builds a single string from a list of value nodes.
ScopeValueRunes wraps a simple string as a value.
ScopeValueShell wraps a command substitution string.
ScopeValueVar wraps a variable reference.
ScopeVarAssignment wraps a variable assignment.
ScopeVarExport exports a variable.
ScopeVarQAssignment wraps a variable Q-Assignment.

# Interfaces

ScopeValueNode is a scope node that results in a string value.