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

Method astParameter

gapil/bapi/encode.go:1997–2007  ·  view source on GitHub ↗
(n *ast.Parameter)

Source from the content-addressed store, hash-verified

1995}
1996
1997func (e *encoder) astParameter(n *ast.Parameter) (outID uint64) {
1998 e.build(&e.instances.AstParameter, e.maps.ASTParameter, n, &outID, func() *ASTParameter {
1999 return &ASTParameter{
2000 Annotations: e.astAnnotations(n.Annotations),
2001 This: n.This,
2002 Type: e.astNode(n.Type),
2003 Name: e.astIdentifier(n.Name),
2004 }
2005 })
2006 return
2007}
2008
2009func (e *encoder) astPointerType(n *ast.PointerType) (outID uint64) {
2010 e.build(&e.instances.AstPointerType, e.maps.ASTPointerType, n, &outID, func() *ASTPointerType {

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