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

Method null

gapil/bapi/encode.go:1181–1189  ·  view source on GitHub ↗
(n semantic.Null)

Source from the content-addressed store, hash-verified

1179}
1180
1181func (e *encoder) null(n semantic.Null) (outID uint64) {
1182 e.build(&e.instances.Null, e.maps.Null, n, &outID, func() *Null {
1183 return &Null{
1184 Ast: e.astNull(n.AST),
1185 Type: e.ty(n.Type),
1186 }
1187 })
1188 return
1189}
1190
1191func (e *encoder) observed(n *semantic.Observed) (outID uint64) {
1192 e.build(&e.instances.Observed, e.maps.Observed, n, &outID, func() *Observed {

Callers 2

nodeMethod · 0.95
exprMethod · 0.95

Calls 3

buildMethod · 0.95
astNullMethod · 0.95
tyMethod · 0.95

Tested by

no test coverage detected