MCPcopy Create free account
hub / github.com/google/gapid / TypeOf

Method TypeOf

gapil/template/types.go:152–154  ·  view source on GitHub ↗

TypeOf returns the resolved semantic type of an expression node.

(v semantic.Node)

Source from the content-addressed store, hash-verified

150
151// TypeOf returns the resolved semantic type of an expression node.
152func (*Functions) TypeOf(v semantic.Node) (semantic.Type, error) {
153 return semantic.TypeOf(v)
154}
155
156// IsStorageType returns true if ty can be used as a storage type.
157func (*Functions) IsStorageType(ty semantic.Type) bool {

Callers 15

nodeMethod · 0.95
declareTypesMethod · 0.45
buildWriteFuncsMethod · 0.45
parseAsmTypesMethod · 0.45
BuildFunction · 0.45
correlateNodesFunction · 0.45
goTypenameFunction · 0.45
stringifyFunction · 0.45
baseTypeFunction · 0.45
doTypeTestFunction · 0.45
nodenameFunction · 0.45
buildConstantSetsFunction · 0.45

Calls

no outgoing calls

Tested by 6

correlateNodesFunction · 0.36
TestBoxSimpleTypesFunction · 0.36
TestBoxCyclicTypeFunction · 0.36
TestBoxMemoryTypeFunction · 0.36
TestBoxUnboxMemoryFunction · 0.36
checkFunction · 0.36