2018-12-10 22:52:31 -07:00
|
|
|
package builtins
|
|
|
|
|
|
|
|
func _() {
|
2019-12-09 11:41:28 -07:00
|
|
|
//@complete("", append, bool, byte, cap, close, complex, complex128, complex64, copy, delete, error, _false, float32, float64, imag, int, int16, int32, int64, int8, len, make, new, panic, print, println, real, recover, rune, string, _true, uint, uint16, uint32, uint64, uint8, uintptr, _nil)
|
2018-12-10 22:52:31 -07:00
|
|
|
}
|
2019-01-15 15:04:34 -07:00
|
|
|
|
|
|
|
/* Create markers for builtin types. Only for use by this test.
|
2019-07-02 16:10:05 -06:00
|
|
|
/* append(slice []Type, elems ...Type) []Type */ //@item(append, "append", "func(slice []Type, elems ...Type) []Type", "func")
|
2019-01-15 15:04:34 -07:00
|
|
|
/* bool */ //@item(bool, "bool", "", "type")
|
|
|
|
/* byte */ //@item(byte, "byte", "", "type")
|
2019-07-02 16:10:05 -06:00
|
|
|
/* cap(v Type) int */ //@item(cap, "cap", "func(v Type) int", "func")
|
|
|
|
/* close(c chan<- Type) */ //@item(close, "close", "func(c chan<- Type)", "func")
|
|
|
|
/* complex(r float64, i float64) */ //@item(complex, "complex", "func(r float64, i float64) complex128", "func")
|
2019-01-15 15:04:34 -07:00
|
|
|
/* complex128 */ //@item(complex128, "complex128", "", "type")
|
|
|
|
/* complex64 */ //@item(complex64, "complex64", "", "type")
|
2019-07-02 16:10:05 -06:00
|
|
|
/* copy(dst []Type, src []Type) int */ //@item(copy, "copy", "func(dst []Type, src []Type) int", "func")
|
|
|
|
/* delete(m map[Type]Type1, key Type) */ //@item(delete, "delete", "func(m map[Type]Type1, key Type)", "func")
|
2019-01-15 15:04:34 -07:00
|
|
|
/* error */ //@item(error, "error", "", "interface")
|
|
|
|
/* false */ //@item(_false, "false", "", "const")
|
|
|
|
/* float32 */ //@item(float32, "float32", "", "type")
|
|
|
|
/* float64 */ //@item(float64, "float64", "", "type")
|
2019-07-02 16:10:05 -06:00
|
|
|
/* imag(c complex128) float64 */ //@item(imag, "imag", "func(c complex128) float64", "func")
|
2019-01-15 15:04:34 -07:00
|
|
|
/* int */ //@item(int, "int", "", "type")
|
|
|
|
/* int16 */ //@item(int16, "int16", "", "type")
|
|
|
|
/* int32 */ //@item(int32, "int32", "", "type")
|
|
|
|
/* int64 */ //@item(int64, "int64", "", "type")
|
|
|
|
/* int8 */ //@item(int8, "int8", "", "type")
|
|
|
|
/* iota */ //@item(iota, "iota", "", "const")
|
2019-07-02 16:10:05 -06:00
|
|
|
/* len(v Type) int */ //@item(len, "len", "func(v Type) int", "func")
|
|
|
|
/* make(t Type, size ...int) Type */ //@item(make, "make", "func(t Type, size ...int) Type", "func")
|
|
|
|
/* new(Type) *Type */ //@item(new, "new", "func(Type) *Type", "func")
|
2019-01-15 15:04:34 -07:00
|
|
|
/* nil */ //@item(_nil, "nil", "", "var")
|
2019-07-02 16:10:05 -06:00
|
|
|
/* panic(v interface{}) */ //@item(panic, "panic", "func(v interface{})", "func")
|
|
|
|
/* print(args ...Type) */ //@item(print, "print", "func(args ...Type)", "func")
|
|
|
|
/* println(args ...Type) */ //@item(println, "println", "func(args ...Type)", "func")
|
|
|
|
/* real(c complex128) float64 */ //@item(real, "real", "func(c complex128) float64", "func")
|
|
|
|
/* recover() interface{} */ //@item(recover, "recover", "func() interface{}", "func")
|
2019-01-15 15:04:34 -07:00
|
|
|
/* rune */ //@item(rune, "rune", "", "type")
|
|
|
|
/* string */ //@item(string, "string", "", "type")
|
|
|
|
/* true */ //@item(_true, "true", "", "const")
|
|
|
|
/* uint */ //@item(uint, "uint", "", "type")
|
|
|
|
/* uint16 */ //@item(uint16, "uint16", "", "type")
|
|
|
|
/* uint32 */ //@item(uint32, "uint32", "", "type")
|
|
|
|
/* uint64 */ //@item(uint64, "uint64", "", "type")
|
|
|
|
/* uint8 */ //@item(uint8, "uint8", "", "type")
|
|
|
|
/* uintptr */ //@item(uintptr, "uintptr", "", "type")
|