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

Method astParameter

gapil/bapi/decode.go:1796–1805  ·  view source on GitHub ↗
(astParameterID uint64)

Source from the content-addressed store, hash-verified

1794}
1795
1796func (d *decoder) astParameter(astParameterID uint64) (out *ast.Parameter) {
1797 d.build(d.content.Instances.AstParameter, &d.inst.ASTParameter, astParameterID, &out,
1798 func(p *ASTParameter, s *ast.Parameter) {
1799 s.Annotations = d.astAnnotations(p.Annotations)
1800 s.This = p.This
1801 s.Type = d.astNode(p.Type)
1802 s.Name = d.astIdentifier(p.Name)
1803 })
1804 return
1805}
1806
1807func (d *decoder) astPointerType(astPointerTypeID uint64) (out *ast.PointerType) {
1808 d.build(d.content.Instances.AstPointerType, &d.inst.ASTPointerType, astPointerTypeID, &out,

Callers 2

paramMethod · 0.95
astNodeMethod · 0.95

Calls 4

buildMethod · 0.95
astAnnotationsMethod · 0.95
astNodeMethod · 0.95
astIdentifierMethod · 0.95

Tested by

no test coverage detected