expr

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2021 License: MIT Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bool

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

func NewBool

func NewBool(s string) (*Bool, error)

func NewBoolForTest

func NewBoolForTest(t *testing.T, s string) *Bool

func (*Bool) Empty

func (boolExpr *Bool) Empty() bool

func (*Bool) Run

func (boolExpr *Bool) Run(param interface{}) (bool, error)

func (*Bool) UnmarshalYAML

func (boolExpr *Bool) UnmarshalYAML(unmarshal func(interface{}) error) error

type Program

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

func NewProgram

func NewProgram(s string) (*Program, error)

func NewProgramForTest

func NewProgramForTest(t *testing.T, s string) *Program

func (*Program) Empty

func (prog *Program) Empty() bool

func (*Program) Run

func (prog *Program) Run(param interface{}) (interface{}, error)

func (*Program) UnmarshalYAML

func (prog *Program) UnmarshalYAML(unmarshal func(interface{}) error) error

type String

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

func NewString

func NewString(s string) (*String, error)

func NewStringForTest

func NewStringForTest(t *testing.T, s string) *String

func (*String) Empty

func (str *String) Empty() bool

func (*String) Run

func (str *String) Run(param interface{}) (string, error)

func (*String) UnmarshalYAML

func (str *String) UnmarshalYAML(unmarshal func(interface{}) error) error

Jump to

Keyboard shortcuts

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