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

Method fieldInit

gapil/bapi/encode.go:915–924  ·  view source on GitHub ↗
(n *semantic.FieldInitializer)

Source from the content-addressed store, hash-verified

913}
914
915func (e *encoder) fieldInit(n *semantic.FieldInitializer) (outID uint64) {
916 e.build(&e.instances.FieldInit, e.maps.FieldInit, n, &outID, func() *FieldInitializer {
917 return &FieldInitializer{
918 Ast: e.astNode(n.AST),
919 Field: e.field(n.Field),
920 Value: e.expr(n.Value),
921 }
922 })
923 return
924}
925
926func (e *encoder) float32Value(n semantic.Float32Value) (outID uint64) {
927 e.build(&e.instances.Float32Value, e.maps.Float32Value, n, &outID, func() *Float32Value {

Callers 1

nodeMethod · 0.95

Calls 4

buildMethod · 0.95
astNodeMethod · 0.95
fieldMethod · 0.95
exprMethod · 0.95

Tested by

no test coverage detected