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

Method definitionUsage

gapil/bapi/encode.go:745–753  ·  view source on GitHub ↗
(n *semantic.DefinitionUsage)

Source from the content-addressed store, hash-verified

743}
744
745func (e *encoder) definitionUsage(n *semantic.DefinitionUsage) (outID uint64) {
746 e.build(&e.instances.DefinitionUsage, e.maps.DefinitionUsage, n, &outID, func() *DefinitionUsage {
747 return &DefinitionUsage{
748 Definition: e.definition(n.Definition),
749 Expression: e.expr(n.Expression),
750 }
751 })
752 return
753}
754
755func (e *encoder) docs(n semantic.Documentation) *Documentation {
756 p := &Documentation{}

Callers 1

exprMethod · 0.95

Calls 3

buildMethod · 0.95
definitionMethod · 0.95
exprMethod · 0.95

Tested by

no test coverage detected