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

Method astEnumEntry

gapil/bapi/encode.go:1742–1751  ·  view source on GitHub ↗
(n *ast.EnumEntry)

Source from the content-addressed store, hash-verified

1740}
1741
1742func (e *encoder) astEnumEntry(n *ast.EnumEntry) (outID uint64) {
1743 e.build(&e.instances.AstEnumEntry, e.maps.ASTEnumEntry, n, &outID, func() *ASTEnumEntry {
1744 return &ASTEnumEntry{
1745 Owner: e.astEnum(n.Owner),
1746 Name: e.astIdentifier(n.Name),
1747 Value: e.astNumber(n.Value),
1748 }
1749 })
1750 return
1751}
1752
1753func (e *encoder) astFence(n *ast.Fence) (outID uint64) {
1754 e.build(&e.instances.AstFence, e.maps.ASTFence, n, &outID, func() *ASTFence {

Callers 2

enumEntryMethod · 0.95
astNodeMethod · 0.95

Calls 4

buildMethod · 0.95
astEnumMethod · 0.95
astIdentifierMethod · 0.95
astNumberMethod · 0.95

Tested by

no test coverage detected