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

Function NewStructType

symbols/typeexprs.go:96–98  ·  view source on GitHub ↗

NewStructType returns a new StructType.

(args ...ast.BaseTerm)

Source from the content-addressed store, hash-verified

94
95// NewStructType returns a new StructType.
96func NewStructType(args ...ast.BaseTerm) ast.ApplyFn {
97 return newTypeExpr(StructType, args...)
98}
99
100// NewFunType returns a new function type.
101// Res <- Arg1, ..., ArgN

Callers 6

TestBoundsAnalyzerFunction · 0.92
boundOfArgFunction · 0.92
TestTypeCheckFunction · 0.92
TestSetConformsFunction · 0.85
TestAccessFunction · 0.85

Calls 1

newTypeExprFunction · 0.85

Tested by 5

TestBoundsAnalyzerFunction · 0.74
TestTypeCheckFunction · 0.74
TestSetConformsFunction · 0.68
TestAccessFunction · 0.68