prototype

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ObjectPrototype

type ObjectPrototype struct {
	// contains filtered or unexported fields
}

func NewObjectPrototype

func NewObjectPrototype() *ObjectPrototype

Make a new one of these!

func NewObjectPrototypeFromJson

func NewObjectPrototypeFromJson(json *string) *ObjectPrototype

Make a new one of these and initialize it from Json

func (ObjectPrototype) NewObject

func (r ObjectPrototype) NewObject() *obj.Object

func (*ObjectPrototype) SetFieldType

func (r *ObjectPrototype) SetFieldType(fieldName string, ofType *objf.ObjectFieldType)

type ObjectPrototypeIfc

type ObjectPrototypeIfc interface {
	SetFieldType(fieldName string, ofType *objf.ObjectFieldType)
	NewObject() *obj.Object // TODO: change this to interface
}

Jump to

Keyboard shortcuts

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