build

package
v0.0.0-...-6e7b214 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 26, 2023 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ListSeparator  = string(filepath.ListSeparator)
	FieldSeparator = " "
)

Variables

This section is empty.

Functions

func Assign

func Assign(cmd *Cmd)

func Compile

func Compile(p *ast.Node) error

func ContinueIf

func ContinueIf(cmd *Cmd)

func ContinueUnless

func ContinueUnless(cmd *Cmd)

func Error

func Error(err error)

func Exit

func Exit(cmd *Cmd)

func For

func For(cmd *Cmd)

func If

func If(cmd *Cmd)

func ImportVar

func ImportVar(name string)

func Load

func Load(cmd *Cmd)

func LookupVar

func LookupVar(name string) ([]string, bool)

func Mark

func Mark(cmd *Cmd)

func Module

func Module(cmd *Cmd)

func Pipe

func Pipe(cmd *Cmd)

func Return

func Return(cmd *Cmd)

func RevertRedir

func RevertRedir(cmd *Cmd)

func SetStdin

func SetStdin(cmd *Cmd)

func SetStdout

func SetStdout(cmd *Cmd)

func SetStdoutAppend

func SetStdoutAppend(cmd *Cmd)

func Simple

func Simple(cmd *Cmd)

func Start

func Start(code *Code)

func UnsetVar

func UnsetVar(name string)

func UpdateVar

func UpdateVar(name string, v []string)

func Var

func Var(cmd *Cmd)

func Wait

func Wait(cmd *Cmd)

Types

type Cmd

type Cmd struct {
	// contains filtered or unexported fields
}

type Code

type Code struct {
	// contains filtered or unexported fields
}

func (*Code) Pos

func (c *Code) Pos() int

Pos returns next position.

type Goto

type Goto int

func (Goto) Jump

func (g Goto) Jump(cmd *Cmd)

type Redir

type Redir struct {
	// contains filtered or unexported fields
}

func NewRedir

func NewRedir() *Redir

func (*Redir) Stdout

func (r *Redir) Stdout() io.Writer

type Stack

type Stack struct {
	// contains filtered or unexported fields
}

type String

type String string

func (String) Push

func (s String) Push(cmd *Cmd)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL