extend

package
v0.0.0-...-4d2ef29 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Attribute

type Attribute struct {
	Name string
}

func (*Attribute) Attributes

func (a *Attribute) Attributes() []string

func (*Attribute) Eval

func (a *Attribute) Eval(mp map[string]value.Value) (value.Value, error)

func (*Attribute) IsLogical

func (a *Attribute) IsLogical() bool

func (*Attribute) String

func (a *Attribute) String() string

type BinaryExtend

type BinaryExtend struct {
	Op          int
	Left, Right Extend
}

func (*BinaryExtend) Attributes

func (e *BinaryExtend) Attributes() []string

func (*BinaryExtend) Eval

func (e *BinaryExtend) Eval(mp map[string]value.Value) (value.Value, error)

func (*BinaryExtend) IsLogical

func (e *BinaryExtend) IsLogical() bool

func (*BinaryExtend) String

func (e *BinaryExtend) String() string

type Extend

type Extend interface {
	String() string
	IsLogical() bool
	Attributes() []string
	Eval(map[string]value.Value) (value.Value, error)
}

type MultiExtend

type MultiExtend struct {
	Op   int
	Args []Extend
}

func (*MultiExtend) Attributes

func (e *MultiExtend) Attributes() []string

func (*MultiExtend) Eval

func (e *MultiExtend) Eval(mp map[string]value.Value) (value.Value, error)

func (*MultiExtend) IsLogical

func (e *MultiExtend) IsLogical() bool

func (*MultiExtend) String

func (e *MultiExtend) String() string

type UnaryExtend

type UnaryExtend struct {
	Op int
	E  Extend
}

func (*UnaryExtend) Attributes

func (e *UnaryExtend) Attributes() []string

func (*UnaryExtend) Eval

func (e *UnaryExtend) Eval(mp map[string]value.Value) (value.Value, error)

func (*UnaryExtend) IsLogical

func (e *UnaryExtend) IsLogical() bool

func (*UnaryExtend) String

func (e *UnaryExtend) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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