rtti

package
v0.24.8 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2024 License: BSD-3-Clause Imports: 2 Imported by: 1

Documentation

Overview

Slots used to produce and consume values.

Index

Constants

This section is empty.

Variables

View Source
var Z_Types = typeinfo.TypeSet{
	Name: "rtti",
	Comment: []string{
		"Slots used to produce and consume values.",
	},

	Slot: z_slot_list,
}

package listing of type data

View Source
var Zt_Address = typeinfo.Slot{
	Name: "address",
	Markup: map[string]any{
		"--": "Identifies an object field, local variable, or pattern parameter. Addresses can be read from or written to.",
	},
}

address, a type of slot.

View Source
var Zt_Assignment = typeinfo.Slot{
	Name: "assignment",
	Markup: map[string]any{
		"--": []string{"Provides access to values in a generic way", "when the type of a value isn't known in advance.", "See also package assign. ( ex. [assign.FromBool] )"},
	},
}

assignment, a type of slot.

View Source
var Zt_BoolEval = typeinfo.Slot{
	Name: "bool_eval",
	Markup: map[string]any{
		"--":            "Commands which return true/false values.",
		"blockly-color": "LOGIC_HUE",
	},
}

bool_eval, a type of slot.

View Source
var Zt_Execute = typeinfo.Slot{
	Name: "execute",
	Markup: map[string]any{
		"--":            "Commands which don't return a value.",
		"blockly-color": "PROCEDURES_HUE",
		"blockly-stack": true,
	},
}

execute, a type of slot.

View Source
var Zt_NumEval = typeinfo.Slot{
	Name: "num_eval",
	Markup: map[string]any{
		"--":            "Commands which return a number.",
		"blockly-color": "MATH_HUE",
	},
}

num_eval, a type of slot.

View Source
var Zt_NumListEval = typeinfo.Slot{
	Name: "num_list_eval",
	Markup: map[string]any{
		"--":            "Commands which return a list of numbers.",
		"blockly-color": "MATH_HUE",
	},
}

num_list_eval, a type of slot.

View Source
var Zt_RecordEval = typeinfo.Slot{
	Name: "record_eval",
	Markup: map[string]any{
		"--":            "Commands which return a record.",
		"blockly-color": "LISTS_HUE",
	},
}

record_eval, a type of slot.

View Source
var Zt_RecordListEval = typeinfo.Slot{
	Name: "record_list_eval",
	Markup: map[string]any{
		"--":            "Commands which return a list of records.",
		"blockly-color": "LISTS_HUE",
	},
}

record_list_eval, a type of slot.

View Source
var Zt_TextEval = typeinfo.Slot{
	Name: "text_eval",
	Markup: map[string]any{
		"--":            "Commands which return text.",
		"blockly-color": "TEXTS_HUE",
	},
}

text_eval, a type of slot.

View Source
var Zt_TextListEval = typeinfo.Slot{
	Name: "text_list_eval",
	Markup: map[string]any{
		"--":            "Commands which return a list of text.",
		"blockly-color": "TEXTS_HUE",
	},
}

text_list_eval, a type of slot.

Functions

func Register added in v0.24.7

func Register(reg func(any))

gob like registration

Types

type Address added in v0.24.6

type Address = rt.Address

type Address_Slot added in v0.24.6

type Address_Slot struct{ Value Address }

Holds a single slot.

func (*Address_Slot) TypeInfo added in v0.24.6

func (*Address_Slot) TypeInfo() typeinfo.T

Implements typeinfo.Instance for a single slot.

type Address_Slots added in v0.24.6

type Address_Slots []Address

Holds a slice of slots.

func (*Address_Slots) Repeats added in v0.24.6

func (op *Address_Slots) Repeats() bool

Implements typeinfo.Repeats for a slice of slots.

func (*Address_Slots) TypeInfo added in v0.24.6

func (*Address_Slots) TypeInfo() typeinfo.T

Implements typeinfo.Instance for a slice of slots.

type Assignment

type Assignment = rt.Assignment

type Assignment_Slot

type Assignment_Slot struct{ Value Assignment }

Holds a single slot.

func (*Assignment_Slot) TypeInfo

func (*Assignment_Slot) TypeInfo() typeinfo.T

Implements typeinfo.Instance for a single slot.

type Assignment_Slots

type Assignment_Slots []Assignment

Holds a slice of slots.

func (*Assignment_Slots) Repeats

func (op *Assignment_Slots) Repeats() bool

Implements typeinfo.Repeats for a slice of slots.

func (*Assignment_Slots) TypeInfo

func (*Assignment_Slots) TypeInfo() typeinfo.T

Implements typeinfo.Instance for a slice of slots.

type BoolEval

type BoolEval = rt.BoolEval

type BoolEval_Slot

type BoolEval_Slot struct{ Value BoolEval }

Holds a single slot.

func (*BoolEval_Slot) TypeInfo

func (*BoolEval_Slot) TypeInfo() typeinfo.T

Implements typeinfo.Instance for a single slot.

type BoolEval_Slots

type BoolEval_Slots []BoolEval

Holds a slice of slots.

func (*BoolEval_Slots) Repeats

func (op *BoolEval_Slots) Repeats() bool

Implements typeinfo.Repeats for a slice of slots.

func (*BoolEval_Slots) TypeInfo

func (*BoolEval_Slots) TypeInfo() typeinfo.T

Implements typeinfo.Instance for a slice of slots.

type Execute

type Execute = rt.Execute

type Execute_Slot

type Execute_Slot struct{ Value Execute }

Holds a single slot.

func (*Execute_Slot) TypeInfo

func (*Execute_Slot) TypeInfo() typeinfo.T

Implements typeinfo.Instance for a single slot.

type Execute_Slots

type Execute_Slots []Execute

Holds a slice of slots.

func (*Execute_Slots) Repeats

func (op *Execute_Slots) Repeats() bool

Implements typeinfo.Repeats for a slice of slots.

func (*Execute_Slots) TypeInfo

func (*Execute_Slots) TypeInfo() typeinfo.T

Implements typeinfo.Instance for a slice of slots.

type NumEval added in v0.24.6

type NumEval = rt.NumEval

type NumEval_Slot added in v0.24.6

type NumEval_Slot struct{ Value NumEval }

Holds a single slot.

func (*NumEval_Slot) TypeInfo added in v0.24.6

func (*NumEval_Slot) TypeInfo() typeinfo.T

Implements typeinfo.Instance for a single slot.

type NumEval_Slots added in v0.24.6

type NumEval_Slots []NumEval

Holds a slice of slots.

func (*NumEval_Slots) Repeats added in v0.24.6

func (op *NumEval_Slots) Repeats() bool

Implements typeinfo.Repeats for a slice of slots.

func (*NumEval_Slots) TypeInfo added in v0.24.6

func (*NumEval_Slots) TypeInfo() typeinfo.T

Implements typeinfo.Instance for a slice of slots.

type NumListEval

type NumListEval = rt.NumListEval

type NumListEval_Slot

type NumListEval_Slot struct{ Value NumListEval }

Holds a single slot.

func (*NumListEval_Slot) TypeInfo

func (*NumListEval_Slot) TypeInfo() typeinfo.T

Implements typeinfo.Instance for a single slot.

type NumListEval_Slots

type NumListEval_Slots []NumListEval

Holds a slice of slots.

func (*NumListEval_Slots) Repeats

func (op *NumListEval_Slots) Repeats() bool

Implements typeinfo.Repeats for a slice of slots.

func (*NumListEval_Slots) TypeInfo

func (*NumListEval_Slots) TypeInfo() typeinfo.T

Implements typeinfo.Instance for a slice of slots.

type RecordEval

type RecordEval = rt.RecordEval

type RecordEval_Slot

type RecordEval_Slot struct{ Value RecordEval }

Holds a single slot.

func (*RecordEval_Slot) TypeInfo

func (*RecordEval_Slot) TypeInfo() typeinfo.T

Implements typeinfo.Instance for a single slot.

type RecordEval_Slots

type RecordEval_Slots []RecordEval

Holds a slice of slots.

func (*RecordEval_Slots) Repeats

func (op *RecordEval_Slots) Repeats() bool

Implements typeinfo.Repeats for a slice of slots.

func (*RecordEval_Slots) TypeInfo

func (*RecordEval_Slots) TypeInfo() typeinfo.T

Implements typeinfo.Instance for a slice of slots.

type RecordListEval

type RecordListEval = rt.RecordListEval

type RecordListEval_Slot

type RecordListEval_Slot struct{ Value RecordListEval }

Holds a single slot.

func (*RecordListEval_Slot) TypeInfo

func (*RecordListEval_Slot) TypeInfo() typeinfo.T

Implements typeinfo.Instance for a single slot.

type RecordListEval_Slots

type RecordListEval_Slots []RecordListEval

Holds a slice of slots.

func (*RecordListEval_Slots) Repeats

func (op *RecordListEval_Slots) Repeats() bool

Implements typeinfo.Repeats for a slice of slots.

func (*RecordListEval_Slots) TypeInfo

func (*RecordListEval_Slots) TypeInfo() typeinfo.T

Implements typeinfo.Instance for a slice of slots.

type TextEval

type TextEval = rt.TextEval

type TextEval_Slot

type TextEval_Slot struct{ Value TextEval }

Holds a single slot.

func (*TextEval_Slot) TypeInfo

func (*TextEval_Slot) TypeInfo() typeinfo.T

Implements typeinfo.Instance for a single slot.

type TextEval_Slots

type TextEval_Slots []TextEval

Holds a slice of slots.

func (*TextEval_Slots) Repeats

func (op *TextEval_Slots) Repeats() bool

Implements typeinfo.Repeats for a slice of slots.

func (*TextEval_Slots) TypeInfo

func (*TextEval_Slots) TypeInfo() typeinfo.T

Implements typeinfo.Instance for a slice of slots.

type TextListEval

type TextListEval = rt.TextListEval

type TextListEval_Slot

type TextListEval_Slot struct{ Value TextListEval }

Holds a single slot.

func (*TextListEval_Slot) TypeInfo

func (*TextListEval_Slot) TypeInfo() typeinfo.T

Implements typeinfo.Instance for a single slot.

type TextListEval_Slots

type TextListEval_Slots []TextListEval

Holds a slice of slots.

func (*TextListEval_Slots) Repeats

func (op *TextListEval_Slots) Repeats() bool

Implements typeinfo.Repeats for a slice of slots.

func (*TextListEval_Slots) TypeInfo

func (*TextListEval_Slots) TypeInfo() typeinfo.T

Implements typeinfo.Instance for a slice of slots.

Jump to

Keyboard shortcuts

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