compiler

package
v3.39.0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2024 License: MIT Imports: 13 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEnviron

func GetEnviron() *ast.Vars

GetEnviron the all return all environment variables encapsulated on a ast.Vars

Types

type Compiler

type Compiler struct {
	Dir            string
	Entrypoint     string
	UserWorkingDir string

	TaskfileEnv  *ast.Vars
	TaskfileVars *ast.Vars

	Logger *logger.Logger
	// contains filtered or unexported fields
}

func (*Compiler) FastGetVariables added in v3.2.2

func (c *Compiler) FastGetVariables(t *ast.Task, call *ast.Call) (*ast.Vars, error)

func (*Compiler) GetTaskfileVariables added in v3.5.0

func (c *Compiler) GetTaskfileVariables() (*ast.Vars, error)

func (*Compiler) GetVariables

func (c *Compiler) GetVariables(t *ast.Task, call *ast.Call) (*ast.Vars, error)

func (*Compiler) HandleDynamicVar

func (c *Compiler) HandleDynamicVar(v ast.Var, dir string) (string, error)

func (*Compiler) ResetCache added in v3.2.0

func (c *Compiler) ResetCache()

ResetCache clear the dymanic variables cache

Jump to

Keyboard shortcuts

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