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

Method astClass

gapil/bapi/decode.go:1484–1492  ·  view source on GitHub ↗
(astClassID uint64)

Source from the content-addressed store, hash-verified

1482}
1483
1484func (d *decoder) astClass(astClassID uint64) (out *ast.Class) {
1485 d.build(d.content.Instances.AstClass, &d.inst.ASTClass, astClassID, &out,
1486 func(p *ASTClass, s *ast.Class) {
1487 s.Annotations = d.astAnnotations(p.Annotations)
1488 s.Name = d.astIdentifier(p.Name)
1489 foreach(p.Fields, d.astField, &s.Fields)
1490 })
1491 return
1492}
1493
1494func (d *decoder) astBlock(astBlockID uint64) (out *ast.Block) {
1495 d.build(d.content.Instances.AstBlock, &d.inst.ASTBlock, astBlockID, &out,

Callers 3

classMethod · 0.95
messageValueMethod · 0.95
astNodeMethod · 0.95

Calls 4

buildMethod · 0.95
astAnnotationsMethod · 0.95
astIdentifierMethod · 0.95
foreachFunction · 0.85

Tested by

no test coverage detected