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

Method astAnnotations

gapil/bapi/decode.go:1401–1408  ·  view source on GitHub ↗
(p *ASTAnnotations)

Source from the content-addressed store, hash-verified

1399}
1400
1401func (d *decoder) astAnnotations(p *ASTAnnotations) ast.Annotations {
1402 if p == nil || len(p.Annotations) == 0 {
1403 return nil
1404 }
1405 out := ast.Annotations{}
1406 foreach(p.Annotations, d.astAnnotation, &out)
1407 return out
1408}
1409
1410func (d *decoder) astAPI(astAPIID uint64) (out *ast.API) {
1411 d.build(d.content.Instances.AstApi, &d.inst.ASTAPI, astAPIID, &out,

Callers 9

astCaseMethod · 0.95
astClassMethod · 0.95
astDefinitionMethod · 0.95
astEnumMethod · 0.95
astFieldMethod · 0.95
astFunctionMethod · 0.95
astImportMethod · 0.95
astParameterMethod · 0.95
astPseudonymMethod · 0.95

Calls 1

foreachFunction · 0.85

Tested by

no test coverage detected