scope

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Type

type Type struct {
	reflect.Type
	// contains filtered or unexported fields
}

Type represents scope type

func NewType

func NewType() *Type

func (*Type) AddField

func (t *Type) AddField(id string, name string, rType reflect.Type) reflect.StructField

func (*Type) EmbedType

func (t *Type) EmbedType(id string, name string, rType reflect.Type) reflect.StructField

func (*Type) Mutator

func (t *Type) Mutator(id string) (*xunsafe.Field, bool)

Jump to

Keyboard shortcuts

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