extend

package
v0.0.0-...-9ff550a Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2020 License: Apache-2.0 Imports: 5 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 {
	Type uint32
	Name string
}

func (*Attribute) Attributes

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

func (*Attribute) Eval

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

func (*Attribute) IsAndOnly

func (a *Attribute) IsAndOnly() bool

func (*Attribute) IsLogical

func (a *Attribute) IsLogical() bool

func (*Attribute) ReturnType

func (a *Attribute) ReturnType() uint32

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.Values) (value.Values, uint32, error)

func (*BinaryExtend) IsAndOnly

func (e *BinaryExtend) IsAndOnly() bool

func (*BinaryExtend) IsLogical

func (e *BinaryExtend) IsLogical() bool

func (*BinaryExtend) ReturnType

func (e *BinaryExtend) ReturnType() uint32

func (*BinaryExtend) String

func (e *BinaryExtend) String() string

type Extend

type Extend interface {
	String() string
	IsAndOnly() bool
	IsLogical() bool
	ReturnType() uint32
	Attributes() []string
	Eval(map[string]value.Values) (value.Values, uint32, 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.Values) (value.Values, uint32, error)

func (*MultiExtend) IsAndOnly

func (e *MultiExtend) IsAndOnly() bool

func (*MultiExtend) IsLogical

func (e *MultiExtend) IsLogical() bool

func (*MultiExtend) ReturnType

func (e *MultiExtend) ReturnType() uint32

func (*MultiExtend) String

func (e *MultiExtend) String() string

type ParenExtend

type ParenExtend struct {
	E Extend
}

func (*ParenExtend) Attributes

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

func (*ParenExtend) Eval

func (e *ParenExtend) Eval(mp map[string]value.Values) (value.Values, uint32, error)

func (*ParenExtend) IsAndOnly

func (e *ParenExtend) IsAndOnly() bool

func (*ParenExtend) IsLogical

func (e *ParenExtend) IsLogical() bool

func (*ParenExtend) ReturnType

func (e *ParenExtend) ReturnType() uint32

func (*ParenExtend) String

func (e *ParenExtend) 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.Values) (value.Values, uint32, error)

func (*UnaryExtend) IsAndOnly

func (e *UnaryExtend) IsAndOnly() bool

func (*UnaryExtend) IsLogical

func (e *UnaryExtend) IsLogical() bool

func (*UnaryExtend) ReturnType

func (e *UnaryExtend) ReturnType() uint32

func (*UnaryExtend) String

func (e *UnaryExtend) String() string

Directories

Path Synopsis
not

Jump to

Keyboard shortcuts

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