Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var False = &TypeBool{BaseType{Typename: "bool", Value: false, Constant: true}}
View Source
var Null = &NullType{BaseType: BaseType{Typename: "null", Value: nil, Constant: true}}
View Source
var True = &TypeBool{BaseType{Typename: "bool", Value: true, Constant: true}}
Functions ¶
Types ¶
type BaseError ¶
func (*BaseError) GetMessage ¶
type BaseType ¶
type BaseType struct { Typename string Value interface{} Constant bool // is the value is constant }
func (*BaseType) IsConstant ¶
func (*BaseType) SetConstant ¶
type CustomType ¶
type CustomType struct {
BaseType
}
func LoadCustomType ¶
func LoadCustomType(qualname string, value interface{}) *CustomType
type TypeString ¶
type TypeString struct {
BaseType
}
func String ¶
func String(s string) *TypeString
func (*TypeString) Len ¶
func (str *TypeString) Len() int
Click to show internal directories.
Click to hide internal directories.