prim

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

Code generated by Tapestry; edit at your own risk.

Index

Constants

This section is empty.

Variables

View Source
var Z_Types = typeinfo.TypeSet{
	Name: "prim",
	Str:  z_str_list,
	Num:  z_num_list,
}

package listing of type data

View Source
var Zt_Bool = typeinfo.Str{
	Name: "bool",
	Options: []string{
		"false",
		"true",
	},
	Markup: map[string]any{
		"comment": []interface{}{"Booleans values are described using strings:", "the tell and json parsers recognize that and allows literal true/false values", "go's generated code also recognizes that and generates bool fields."},
	},
}

bool, a type of str enum.

View Source
var Zt_Lines = typeinfo.Str{
	Name: "lines",
	Markup: map[string]any{
		"comment": "A sequence of characters of any length spanning multiple lines. See also: text.",
	},
}
View Source
var Zt_Number = typeinfo.Num{
	Name: "number",
}

number, a type of num.

View Source
var Zt_Text = typeinfo.Str{
	Name: "text",
	Markup: map[string]any{
		"comment": "A sequence of characters of any length, all on one line. Examples include letters, words, or short sentences. Text is generally something displayed to the player. See also: lines.",
	},
}

Functions

This section is empty.

Types

type Bool

type Bool int

Bool, a type of str enum.

const (
	C_Bool_False Bool = iota
	C_Bool_True
)

enumerated values of Bool

func MakeBool

func MakeBool(str string) (ret Bool, okay bool)

func (Bool) String

func (op Bool) String() (ret string)

Jump to

Keyboard shortcuts

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