common

package
v6.4.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2019 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 4 more Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Array

type Array struct {
	Data []interface{}
	FlagsStruct
}

func NewArray

func NewArray() Array

func (Array) GetFlags

func (a Array) GetFlags() FlagsStruct

func (Array) SetFlags

func (a Array) SetFlags(f FlagsStruct)

type FlagsStruct

type FlagsStruct struct {
	Traced     bool // Object is being traced in the debugger
	Immediate  bool // Objects executed even when compiling
	Executable bool // Object is executable
}

func (FlagsStruct) SetExecutable

func (f FlagsStruct) SetExecutable(b bool) FlagsStruct

func (FlagsStruct) SetImmediate

func (f FlagsStruct) SetImmediate(b bool) FlagsStruct

func (FlagsStruct) SetTraced

func (f FlagsStruct) SetTraced(b bool) FlagsStruct

type Func

type Func func()

type HasFlags

type HasFlags interface {
	GetFlags() FlagsStruct
	SetFlags(FlagsStruct)
}

type Mark

type Mark struct{} // Used to mark a spot on the stack for executable arrays

Jump to

Keyboard shortcuts

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