testdl

package
v0.24.5 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Overview

Package testdl contains various autogenerated types the intention is to decouple some of the "test autogenerated utils" from the tapestry language itself.

Code generated by Tapestry; edit at your own risk.

Index

Constants

This section is empty.

Variables

View Source
var Z_Types = typeinfo.TypeSet{
	Name:       "testdl",
	Slot:       z_slot_list,
	Flow:       z_flow_list,
	Str:        z_str_list,
	Num:        z_num_list,
	Signatures: z_signatures,
}

package listing of type data

View Source
var Zt_TestBool = typeinfo.Str{
	Name: "test_bool",
	Options: []string{
		"true",
		"false",
	},
}

test_bool, a type of str enum.

View Source
var Zt_TestEmbed typeinfo.Flow

test_embed, a type of flow.

View Source
var Zt_TestFlow typeinfo.Flow

test_flow, a type of flow.

View Source
var Zt_TestNum = typeinfo.Num{
	Name: "test_num",
}

test_num, a type of num.

View Source
var Zt_TestSlot = typeinfo.Slot{
	Name: "test_slot",
}

test_slot, a type of slot.

View Source
var Zt_TestStr = typeinfo.Str{
	Name: "test_str",
	Options: []string{
		"one",
		"other",
		"option",
	},
}

test_str, a type of str enum.

View Source
var Zt_TestTxt = typeinfo.Str{
	Name: "test_txt",
}

Functions

This section is empty.

Types

type TestBool

type TestBool int

TestBool, a type of str enum.

const (
	C_TestBool_True TestBool = iota
	C_TestBool_False
)

enumerated values of TestBool

func MakeTestBool

func MakeTestBool(str string) (ret TestBool, okay bool)

func (TestBool) String

func (op TestBool) String() (ret string)

type TestEmbed

type TestEmbed struct {
	TestFlow TestFlow
	Markup   map[string]any
}

func (*TestEmbed) GetMarkup

func (op *TestEmbed) GetMarkup(ensure bool) map[string]any

implements typeinfo.Markup

func (*TestEmbed) TypeInfo

func (*TestEmbed) TypeInfo() typeinfo.T

implements typeinfo.Instance

type TestEmbed_Slice

type TestEmbed_Slice []TestEmbed

holds a slice of type test_embed

func (*TestEmbed_Slice) Repeats

func (op *TestEmbed_Slice) Repeats() bool

implements typeinfo.Repeats

func (*TestEmbed_Slice) TypeInfo

func (*TestEmbed_Slice) TypeInfo() typeinfo.T

implements typeinfo.Instance

type TestFlow

type TestFlow struct {
	Slot   TestSlot
	Txt    string
	Num    float64
	Bool   TestBool
	Slots  []TestSlot
	Markup map[string]any
}

func (*TestFlow) GetMarkup

func (op *TestFlow) GetMarkup(ensure bool) map[string]any

implements typeinfo.Markup

func (*TestFlow) TypeInfo

func (*TestFlow) TypeInfo() typeinfo.T

implements typeinfo.Instance

type TestFlow_Slice

type TestFlow_Slice []TestFlow

holds a slice of type test_flow

func (*TestFlow_Slice) Repeats

func (op *TestFlow_Slice) Repeats() bool

implements typeinfo.Repeats

func (*TestFlow_Slice) TypeInfo

func (*TestFlow_Slice) TypeInfo() typeinfo.T

implements typeinfo.Instance

type TestSlot

type TestSlot interface{}

type TestSlot_Slot

type TestSlot_Slot struct{ Value TestSlot }

holds a single slot.

func (*TestSlot_Slot) TypeInfo

func (*TestSlot_Slot) TypeInfo() typeinfo.T

implements typeinfo.Instance for a single slot.

type TestSlot_Slots

type TestSlot_Slots []TestSlot

holds a slice of slots.

func (*TestSlot_Slots) Repeats

func (op *TestSlot_Slots) Repeats() bool

implements typeinfo.Repeats

func (*TestSlot_Slots) TypeInfo

func (*TestSlot_Slots) TypeInfo() typeinfo.T

implements typeinfo.Instance for a series of slots.

type TestStr

type TestStr int

TestStr, a type of str enum.

const (
	C_TestStr_One TestStr = iota
	C_TestStr_Other
	C_TestStr_Option
)

enumerated values of TestStr

func MakeTestStr

func MakeTestStr(str string) (ret TestStr, okay bool)

func (TestStr) String

func (op TestStr) String() (ret string)

Jump to

Keyboard shortcuts

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