rel

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: 6 Imported by: 0

Documentation

Overview

Code generated by Tapestry; edit at your own risk.

Index

Constants

This section is empty.

Variables

View Source
var (
	CmdError    = assign.CmdError
	CmdErrorCtx = assign.CmdErrorCtx
)
View Source
var Z_Types = typeinfo.TypeSet{
	Name:       "rel",
	Flow:       z_flow_list,
	Str:        z_str_list,
	Signatures: z_signatures,
}

package listing of type data

View Source
var Zt_ReciprocalOf typeinfo.Flow

reciprocal_of, a type of flow.

View Source
var Zt_ReciprocalsOf typeinfo.Flow

reciprocals_of, a type of flow.

View Source
var Zt_Relate typeinfo.Flow

relate, a type of flow.

View Source
var Zt_RelationName = typeinfo.Str{
	Name: "relation_name",
}
View Source
var Zt_RelativeOf typeinfo.Flow

relative_of, a type of flow.

View Source
var Zt_RelativesOf typeinfo.Flow

relatives_of, a type of flow.

Functions

This section is empty.

Types

type ReciprocalOf

type ReciprocalOf struct {
	Via    string
	Object rtti.TextEval
	Markup map[string]any
}

Returns the implied relative of a noun (ex. the source in a one-to-many relation.).

func (*ReciprocalOf) GetMarkup

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

implements typeinfo.Markup

func (*ReciprocalOf) GetText

func (op *ReciprocalOf) GetText(run rt.Runtime) (ret rt.Value, err error)

func (*ReciprocalOf) TypeInfo

func (*ReciprocalOf) TypeInfo() typeinfo.T

implements typeinfo.Instance

type ReciprocalOf_Slice

type ReciprocalOf_Slice []ReciprocalOf

holds a slice of type reciprocal_of

func (*ReciprocalOf_Slice) Repeats

func (op *ReciprocalOf_Slice) Repeats() bool

implements typeinfo.Repeats

func (*ReciprocalOf_Slice) TypeInfo

func (*ReciprocalOf_Slice) TypeInfo() typeinfo.T

implements typeinfo.Instance

type ReciprocalsOf

type ReciprocalsOf struct {
	Via    string
	Object rtti.TextEval
	Markup map[string]any
}

Returns the implied relative of a noun (ex. the sources of a many-to-many relation.).

func (*ReciprocalsOf) GetMarkup

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

implements typeinfo.Markup

func (*ReciprocalsOf) GetTextList

func (op *ReciprocalsOf) GetTextList(run rt.Runtime) (ret rt.Value, err error)

func (*ReciprocalsOf) TypeInfo

func (*ReciprocalsOf) TypeInfo() typeinfo.T

implements typeinfo.Instance

type ReciprocalsOf_Slice

type ReciprocalsOf_Slice []ReciprocalsOf

holds a slice of type reciprocals_of

func (*ReciprocalsOf_Slice) Repeats

func (op *ReciprocalsOf_Slice) Repeats() bool

implements typeinfo.Repeats

func (*ReciprocalsOf_Slice) TypeInfo

func (*ReciprocalsOf_Slice) TypeInfo() typeinfo.T

implements typeinfo.Instance

type Relate

type Relate struct {
	Object   rtti.TextEval
	ToObject rtti.TextEval
	Via      string
	Markup   map[string]any
}

Relate two nouns.

func (*Relate) Execute

func (op *Relate) Execute(run rt.Runtime) (err error)

func (*Relate) GetMarkup

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

implements typeinfo.Markup

func (*Relate) TypeInfo

func (*Relate) TypeInfo() typeinfo.T

implements typeinfo.Instance

type Relate_Slice

type Relate_Slice []Relate

holds a slice of type relate

func (*Relate_Slice) Repeats

func (op *Relate_Slice) Repeats() bool

implements typeinfo.Repeats

func (*Relate_Slice) TypeInfo

func (*Relate_Slice) TypeInfo() typeinfo.T

implements typeinfo.Instance

type RelativeOf

type RelativeOf struct {
	Via    string
	Object rtti.TextEval
	Markup map[string]any
}

Returns the relative of a noun (ex. the target of a one-to-one relation.).

func (*RelativeOf) GetMarkup

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

implements typeinfo.Markup

func (*RelativeOf) GetText

func (op *RelativeOf) GetText(run rt.Runtime) (ret rt.Value, err error)

func (*RelativeOf) TypeInfo

func (*RelativeOf) TypeInfo() typeinfo.T

implements typeinfo.Instance

type RelativeOf_Slice

type RelativeOf_Slice []RelativeOf

holds a slice of type relative_of

func (*RelativeOf_Slice) Repeats

func (op *RelativeOf_Slice) Repeats() bool

implements typeinfo.Repeats

func (*RelativeOf_Slice) TypeInfo

func (*RelativeOf_Slice) TypeInfo() typeinfo.T

implements typeinfo.Instance

type RelativesOf

type RelativesOf struct {
	Via    string
	Object rtti.TextEval
	Markup map[string]any
}

Returns the relatives of a noun as a list of names (ex. the targets of one-to-many relation).

func (*RelativesOf) GetMarkup

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

implements typeinfo.Markup

func (*RelativesOf) GetTextList

func (op *RelativesOf) GetTextList(run rt.Runtime) (ret rt.Value, err error)

func (*RelativesOf) TypeInfo

func (*RelativesOf) TypeInfo() typeinfo.T

implements typeinfo.Instance

type RelativesOf_Slice

type RelativesOf_Slice []RelativesOf

holds a slice of type relatives_of

func (*RelativesOf_Slice) Repeats

func (op *RelativesOf_Slice) Repeats() bool

implements typeinfo.Repeats

func (*RelativesOf_Slice) TypeInfo

func (*RelativesOf_Slice) TypeInfo() typeinfo.T

implements typeinfo.Instance

Jump to

Keyboard shortcuts

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