native

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NativeTransformer

type NativeTransformer struct {
	*core.CoreTransformer
}

func NewNativeTransformer

func NewNativeTransformer(opts ...core.TransformOption) *NativeTransformer

func (*NativeTransformer) Transform

func (tf *NativeTransformer) Transform(rslv resolver.Resolver) ([]byte, error)

type NativeVariable

type NativeVariable struct {
	CoreVariable *core.CoreVariable
}

func NewNativeVariable

func NewNativeVariable() *NativeVariable

func (*NativeVariable) Get

func (fv *NativeVariable) Get(name string) (*value.Value, error)

nolint:funlen,gocyclo

func (*NativeVariable) Set

func (fv *NativeVariable) Set(name string, val *value.Value) (*value.Value, error)

func (*NativeVariable) Unset

func (fv *NativeVariable) Unset(name string) (*value.Value, error)

Jump to

Keyboard shortcuts

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