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

Method node

gapil/bapi/decode.go:1204–1318  ·  view source on GitHub ↗
(p *Node)

Source from the content-addressed store, hash-verified

1202}
1203
1204func (d *decoder) node(p *Node) semantic.Node {
1205 if p == nil {
1206 return nil
1207 }
1208 switch p := protoutil.OneOf(p).(type) {
1209 case *Node_Abort:
1210 return d.abort(p.Abort)
1211 case *Node_Annotation:
1212 return d.annotation(p.Annotation)
1213 case *Node_Api:
1214 return d.api(p.Api)
1215 case *Node_ArrayAssign:
1216 return d.arrayAssign(p.ArrayAssign)
1217 case *Node_ArrayIndex:
1218 return d.arrayIndex(p.ArrayIndex)
1219 case *Node_ArrayInit:
1220 return d.arrayInit(p.ArrayInit)
1221 case *Node_Assert:
1222 return d.assert(p.Assert)
1223 case *Node_Assign:
1224 return d.assign(p.Assign)
1225 case *Node_BinaryOp:
1226 return d.binaryOp(p.BinaryOp)
1227 case *Node_BitTest:
1228 return d.bitTest(p.BitTest)
1229 case *Node_Block:
1230 return d.block(p.Block)
1231 case *Node_BoolValue:
1232 return d.boolValue(p.BoolValue)
1233 case *Node_Branch:
1234 return d.branch(p.Branch)
1235 case *Node_Builtin:
1236 return d.builtin(p.Builtin)
1237 case *Node_Call:
1238 return d.call(p.Call)
1239 case *Node_Callable:
1240 return d.callable(p.Callable)
1241 case *Node_Case:
1242 return d.case_(p.Case)
1243 case *Node_Cast:
1244 return d.cast(p.Cast)
1245 case *Node_Choice:
1246 return d.choice(p.Choice)
1247 case *Node_Copy:
1248 return d.copy(p.Copy)
1249 case *Node_Class:
1250 return d.class(p.Class)
1251 case *Node_ClassInit:
1252 return d.classInit(p.ClassInit)
1253 case *Node_Clone:
1254 return d.clone(p.Clone)
1255 case *Node_Create:
1256 return d.create(p.Create)
1257 case *Node_DeclareLocal:
1258 return d.declareLocal(p.DeclareLocal)
1259 case *Node_Definition:
1260 return d.definition(p.Definition)
1261 case *Node_EnumEntry:

Callers 14

mappingsMethod · 0.95
arrayMethod · 0.95
classMethod · 0.95
enumMethod · 0.95
enumEntryMethod · 0.95
fieldMethod · 0.95
functionMethod · 0.95
globalMethod · 0.95
map_Method · 0.95
pointerMethod · 0.95
pseudonymMethod · 0.95
referenceMethod · 0.95

Calls 15

abortMethod · 0.95
annotationMethod · 0.95
apiMethod · 0.95
arrayAssignMethod · 0.95
arrayIndexMethod · 0.95
arrayInitMethod · 0.95
assertMethod · 0.95
assignMethod · 0.95
binaryOpMethod · 0.95
bitTestMethod · 0.95
blockMethod · 0.95
boolValueMethod · 0.95

Tested by

no test coverage detected