air

package module
v0.0.0-...-89bbdfb Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2022 License: Apache-2.0, BSD-3-Clause, MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeywordMapper

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

func NewKeywordMapper

func NewKeywordMapper(
	lefttag string,
	righttag string) *KeywordMapper

func (*KeywordMapper) Replace

func (this *KeywordMapper) Replace(template string, mh KeywordReplaceHandler) string

type KeywordReplaceHandler

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

func NewKeywordReplaceHandler

func NewKeywordReplaceHandler(
	dataMap map[string]interface{},
) KeywordReplaceHandler

func (*KeywordReplaceHandler) Replace

func (this *KeywordReplaceHandler) Replace(keyword string) string

type Ternary

type Ternary struct {
}

func (*Ternary) Eval

func (s *Ternary) Eval(params ...interface{}) (interface{}, error)

func (*Ternary) Name

func (s *Ternary) Name() string

func (*Ternary) Sig

func (s *Ternary) Sig() (paramTypes []data.Type, isVariadic bool)

type ToObjectArray

type ToObjectArray struct {
}

func (*ToObjectArray) Eval

func (s *ToObjectArray) Eval(params ...interface{}) (interface{}, error)

func (*ToObjectArray) Name

func (s *ToObjectArray) Name() string

func (*ToObjectArray) Sig

func (s *ToObjectArray) Sig() (paramTypes []data.Type, isVariadic bool)

Jump to

Keyboard shortcuts

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