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

Method abort

gapil/bapi/encode.go:387–396  ·  view source on GitHub ↗
(n *semantic.Abort)

Source from the content-addressed store, hash-verified

385}
386
387func (e *encoder) abort(n *semantic.Abort) (outID uint64) {
388 e.build(&e.instances.Abort, e.maps.Abort, n, &outID, func() *Abort {
389 return &Abort{
390 Ast: e.astAbort(n.AST),
391 Function: e.function(n.Function),
392 Statement: e.stat(n.Statement),
393 }
394 })
395 return
396}
397
398func (e *encoder) annotation(n *semantic.Annotation) (outID uint64) {
399 e.build(&e.instances.Annotation, e.maps.Annotation, n, &outID, func() *Annotation {

Callers 2

nodeMethod · 0.95
statMethod · 0.95

Calls 4

buildMethod · 0.95
astAbortMethod · 0.95
functionMethod · 0.95
statMethod · 0.95

Tested by

no test coverage detected