zeros

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FalseAst = Ast{
	OpCode:    mnem.Imm_bool | AstOpCodeType(tsys.TypeInfo_Primitive_Bool.Id<<mnem.TypeIdOffset),
	ClassName: clsz.C_imm_bool,
	Type:      AstType_Bool,
	Value:     false,
}
View Source
var NilAst = Ast{
	OpCode:    mnem.Imm_nil,
	ClassName: clsz.C_imm_nil,
	Type:      AstType_Nil,
	Value:     nil,
}
View Source
var TrueAst = Ast{
	OpCode:    mnem.Imm_bool | AstOpCodeType(tsys.TypeInfo_Primitive_Bool.Id<<mnem.TypeIdOffset),
	ClassName: clsz.C_imm_bool,
	Type:      AstType_Bool,
	Value:     true,
}
View Source
var UnitAst = Ast{
	OpCode:    mnem.Imm_unitval | AstOpCodeType(tsys.TypeInfo_Primitive_Unit.Id<<mnem.TypeIdOffset),
	ClassName: clsz.C_imm_ndef,
	Type:      AstType_Any,
	Value:     &UnitSingleton,
}
View Source
var UnitSingleton = Unit{}
View Source
var ZeroStrAst = Ast{
	OpCode:    mnem.Imm_str | AstOpCodeType(tsys.TypeInfo_Primitive_String.Id<<mnem.TypeIdOffset),
	ClassName: clsz.C_imm_str,
	Type:      AstType_String,
	Value:     "",
}

Functions

This section is empty.

Types

type Unit

type Unit struct{}

Jump to

Keyboard shortcuts

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