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

Method classInit

gapil/bapi/decode.go:497–505  ·  view source on GitHub ↗
(classInitID uint64)

Source from the content-addressed store, hash-verified

495}
496
497func (d *decoder) classInit(classInitID uint64) (out *semantic.ClassInitializer) {
498 d.build(d.content.Instances.ClassInit, &d.inst.ClassInit, classInitID, &out,
499 func(p *ClassInitializer, s *semantic.ClassInitializer) {
500 s.AST = d.astCall(p.Ast)
501 s.Class = d.class(p.Class)
502 foreach(p.Fields, d.fieldInit, &s.Fields)
503 })
504 return
505}
506
507func (d *decoder) clone(cloneID uint64) (out *semantic.Clone) {
508 d.build(d.content.Instances.Clone, &d.inst.Clone, cloneID, &out,

Callers 3

createMethod · 0.95
exprMethod · 0.95
nodeMethod · 0.95

Calls 4

buildMethod · 0.95
astCallMethod · 0.95
classMethod · 0.95
foreachFunction · 0.85

Tested by

no test coverage detected