zed

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2022 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Any

type Any interface {
	// contains filtered or unexported methods
}

type Array

type Array struct {
	Kind     string  `json:"kind" unpack:""`
	Elements []Value `json:"elements"`
}

type CastValue

type CastValue struct {
	Kind string `json:"kind" unpack:""`
	Of   Value  `json:"of"`
	Type Type   `json:"type"`
}

type DefValue

type DefValue struct {
	Kind     string `json:"kind" unpack:""`
	Of       Any    `json:"of"`
	TypeName string `json:"type_name"`
}

type Entry

type Entry struct {
	Key   Value `json:"key"`
	Value Value `json:"value"`
}

type Enum

type Enum struct {
	Kind string `json:"kind" unpack:""`
	Name string `json:"name"`
}

type Error added in v1.0.0

type Error struct {
	Kind  string `json:"kind" unpack:""`
	Value Value  `json:"value"`
}

type Field

type Field struct {
	Name  string `json:"name"`
	Value Value  `json:"value"`
}

type ImpliedValue

type ImpliedValue struct {
	Kind string `json:"kind" unpack:""`
	Of   Any    `json:"of"`
}

type Map

type Map struct {
	Kind    string  `json:"kind" unpack:""`
	Entries []Entry `json:"entries"`
}

type Primitive

type Primitive struct {
	Kind string `json:"kind" unpack:""`
	Type string `json:"type"`
	Text string `json:"text"`
}

func (*Primitive) ExprAST

func (*Primitive) ExprAST()

func (*Primitive) ExprDAG

func (*Primitive) ExprDAG()

type Record

type Record struct {
	Kind   string  `json:"Kind" unpack:""`
	Fields []Field `json:"fields"`
}

type Set

type Set struct {
	Kind     string  `json:"kind" unpack:""`
	Elements []Value `json:"elements"`
}

type Type

type Type interface {
	// contains filtered or unexported methods
}

type TypeArray

type TypeArray struct {
	Kind string `json:"kind" unpack:""`
	Type Type   `json:"type"`
}

type TypeDef

type TypeDef struct {
	Kind string `json:"kind" unpack:""`
	Name string `json:"name"`
	Type Type   `json:"type"`
}

type TypeEnum

type TypeEnum struct {
	Kind    string   `json:"kind" unpack:""`
	Symbols []string `json:"symbols"`
}

type TypeError added in v1.0.0

type TypeError struct {
	Kind string `json:"kind" unpack:""`
	Type Type   `json:"type"`
}

type TypeField

type TypeField struct {
	Name string `json:"name"`
	Type Type   `json:"type"`
}

type TypeMap

type TypeMap struct {
	Kind    string `json:"kind" unpack:""`
	KeyType Type   `json:"key_type"`
	ValType Type   `json:"val_type"`
}

type TypeName

type TypeName struct {
	Kind string `json:"kind" unpack:""`
	Name string `json:"name"`
}

type TypeNull

type TypeNull struct {
	Kind string `json:"kind" unpack:""`
}

type TypePrimitive

type TypePrimitive struct {
	Kind string `json:"kind" unpack:""`
	Name string `json:"name"`
}

type TypeRecord

type TypeRecord struct {
	Kind   string      `json:"kind" unpack:""`
	Fields []TypeField `json:"fields"`
}

type TypeSet

type TypeSet struct {
	Kind string `json:"kind" unpack:""`
	Type Type   `json:"type"`
}

type TypeUnion

type TypeUnion struct {
	Kind  string `json:"kind" unpack:""`
	Types []Type `json:"types"`
}

type TypeValue

type TypeValue struct {
	Kind  string `json:"kind" unpack:""`
	Value Type   `json:"value"`
}

func (*TypeValue) ExprAST

func (*TypeValue) ExprAST()

func (*TypeValue) ExprDAG

func (*TypeValue) ExprDAG()

type Value

type Value interface {
	// contains filtered or unexported methods
}

Jump to

Keyboard shortcuts

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