node

package
v0.5.5 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2026 License: Apache-2.0 Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LookupFieldType added in v0.4.2

func LookupFieldType(holder string, ownerType reflect.Type) func(name string) *xunsafe.Field

Types

type Binding added in v0.4.2

type Binding struct {
	Values       []*Value
	Groups       []*Group
	Count        int
	ContextField *xunsafe.Field
}

func (*Binding) AddPlaceholder added in v0.4.2

func (b *Binding) AddPlaceholder()

func (*Binding) AddPlaceholders added in v0.4.2

func (b *Binding) AddPlaceholders(count int) *Group

func (*Binding) Expand added in v0.4.2

func (b *Binding) Expand(expr string, values []interface{}) (string, error)

type Group added in v0.4.2

type Group struct {
	Name      string
	Type      reflect.Type
	From      int
	To        int
	InInts    *in.Ints
	InStrings *in.Strings
}

Group represents a group of values in a binding.

func (*Group) Count added in v0.4.2

func (g *Group) Count() int

Count returns the number of values in a group.

type Selector

type Selector struct {
	Name     string
	Criteria node.Node
	Holder   string
	Child    *Selector
}

Selector represents a selector

type Value added in v0.4.2

type Value struct {
	Position    int
	Placeholder bool
	Value       interface{}
}

Value represents a value in a binding.

type Values added in v0.4.2

type Values struct {
	Bindings *Binding
	Values   []interface{}
}

Values represents a set of values and a binding.

Jump to

Keyboard shortcuts

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