Add built-in table T methods

This commit is contained in:
Nigel Tao committed 2018-05-18 12:50:53 +10:00
1 parent eda326726a
commit e4320c3c6d
21 files changed
+194 -5

No files matched your search

+6
View File
@@ -471,6 +471,9 @@ const (
IDMax = ID(0x213)
IDMin = ID(0x214)
IDSet = ID(0x215)
IDHeight = ID(0x216)
IDStride = ID(0x217)
IDWidth = ID(0x218)
)
var builtInsByID = [nBuiltInIDs]string{
@@ -671,6 +674,9 @@ var builtInsByID = [nBuiltInIDs]string{
IDMax: "max",
IDMin: "min",
IDSet: "set",
IDHeight: "height",
IDStride: "stride",
IDWidth: "width",
}
var builtInsByName = map[string]ID{}