Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // AppendType is the definition of the append built-in function (https://golang.org/ref/spec#Appending_and_copying_slices) AppendType = &types.FuncType{Builtin: "append"} // CapType is the definition of the cap(s) built-in function (https://golang.org/ref/spec#Length_and_capacity) CapType = &types.FuncType{Builtin: "cap"} // CloseType is the definition of the close(c) built-in function (https://golang.org/ref/spec#Close) CloseType = &types.FuncType{Builtin: "close"} // ComplexType is the definition of the complex built-in function (https://golang.org/ref/spec#Complex_numbers) ComplexType = &types.FuncType{Builtin: "complex"} // CopyType is the definition of the copy built-in function (https://golang.org/ref/spec#Appending_and_copying_slices) CopyType = &types.FuncType{Builtin: "copy"} // DeleteType is the definition of the delete built-in function (https://golang.org/ref/spec#Deletion_of_map_elements) DeleteType = &types.FuncType{Builtin: "delete"} // ImagType is the definition of the imag built-in function (https://golang.org/ref/spec#Complex_numbers) ImagType = &types.FuncType{Builtin: "imag"} // LenType is the definition of the len(s) built-in function (https://golang.org/ref/spec#Length_and_capacity) LenType = &types.FuncType{Builtin: "len"} // MakeType is the definition of the make built-in function (https://golang.org/ref/spec#Making_slices_maps_and_channels) MakeType = &types.FuncType{Builtin: "make"} // NewType is the definition of the new built-in function (https://golang.org/ref/spec#Allocation) NewType = &types.FuncType{Builtin: "new"} // PanicType is the definition of the panic built-in function (https://golang.org/ref/spec#Handling_panics) PanicType = &types.FuncType{Builtin: "panic"} // PrintType is the definition of the print built-in function (https://golang.org/ref/spec#Bootstrapping) PrintType = &types.FuncType{Builtin: "print"} // PrintlnType is the definition of the println built-in function (https://golang.org/ref/spec#Bootstrapping) PrintlnType = &types.FuncType{Builtin: "println"} // RealType is the definition of the real built-in function (https://golang.org/ref/spec#Complex_numbers) RealType = &types.FuncType{Builtin: "real"} // RecoverType is the definition of the recover built-in function (https://golang.org/ref/spec#Handling_panics) RecoverType = &types.FuncType{Builtin: "recover"} )
View Source
var ( // TrueV represents the 'true' built-in constant value. TrueV = values.BoolV(true) // FalseV represents the 'false' built-in constant value. FalseV = values.BoolV(false) )
View Source
var ( // IntType is the definition of the 'int' built-in type IntType = context.Universe.DefineType("int", universePos, types.MakeIntType(0, "int")) // Int8Type is the definition of the 'int8' built-in type Int8Type = context.Universe.DefineType("int8", universePos, types.MakeIntType(8, "int8")) // Int16Type is the definition of the 'int16' built-in type Int16Type = context.Universe.DefineType("int16", universePos, types.MakeIntType(16, "int16")) // Int32Type is the definition of the 'int32' built-in type Int32Type = context.Universe.DefineType("int32", universePos, types.MakeIntType(32, "int32")) // Int64Type is the definition of the 'int64' built-in type Int64Type = context.Universe.DefineType("int64", universePos, types.MakeIntType(64, "int64")) )
View Source
var ( // UintType is the definition of the 'uint' built-in type UintType = context.Universe.DefineType("uint", universePos, types.MakeUIntType(0, false, "uint")) // UintptrType is the definition of the 'uintptr' built-in type UintptrType = context.Universe.DefineType("uintptr", universePos, types.MakeUIntType(0, true, "uintptr")) // Uint8Type is the definition of the 'uint8' built-in type Uint8Type = context.Universe.DefineType("uint8", universePos, types.MakeUIntType(8, false, "uint8")) // Uint16Type is the definition of the 'uint16' built-in type Uint16Type = context.Universe.DefineType("uint16", universePos, types.MakeUIntType(16, false, "uint16")) // Uint32Type is the definition of the 'uint32' built-in type Uint32Type = context.Universe.DefineType("uint32", universePos, types.MakeUIntType(32, false, "uint32")) // Uint64Type is the definition of the 'uint64' built-in type Uint64Type = context.Universe.DefineType("uint64", universePos, types.MakeUIntType(64, false, "uint64")) )
View Source
var ( // Float32Type is the definition of the 'float32' built-in type Float32Type = context.Universe.DefineType("float32", universePos, types.MakeFloatType(32, "float32")) // Float64Type is the definition of the 'float64' built-in type Float64Type = context.Universe.DefineType("float64", universePos, types.MakeFloatType(64, "float64")) )
View Source
var ( // BoolType is the definition of the 'bool' built-in type BoolType = context.Universe.DefineType("bool", universePos, &types.BoolType{}) )
View Source
var ( // StringType is the definition of the 'string' built-in type StringType = context.Universe.DefineType("string", universePos, &types.StringType{}) )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.