MCPcopy
hub / github.com/google/mangle / NewTupleType

Function NewTupleType

symbols/typeexprs.go:70–72  ·  view source on GitHub ↗

NewTupleType returns a new TupleType.

(parts ...ast.BaseTerm)

Source from the content-addressed store, hash-verified

68
69// NewTupleType returns a new TupleType.
70func NewTupleType(parts ...ast.BaseTerm) ast.ApplyFn {
71 return newTypeExpr(TupleType, parts...)
72}
73
74// NewOptionType returns a new ListType.
75func NewOptionType(elem ast.BaseTerm) ast.ApplyFn {

Callers 5

TestBoundsAnalyzerFunction · 0.92
boundOfArgFunction · 0.92
TestHasTypeFunction · 0.85
TestUpperBoundFunction · 0.85
TestLowerBoundFunction · 0.85

Calls 1

newTypeExprFunction · 0.85

Tested by 4

TestBoundsAnalyzerFunction · 0.74
TestHasTypeFunction · 0.68
TestUpperBoundFunction · 0.68
TestLowerBoundFunction · 0.68