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

Method sliceRange

gapil/bapi/decode.go:1113–1122  ·  view source on GitHub ↗
(sliID uint64)

Source from the content-addressed store, hash-verified

1111}
1112
1113func (d *decoder) sliceRange(sliID uint64) (out *semantic.SliceRange) {
1114 d.build(d.content.Instances.SliceRange, &d.inst.SliceRange, sliID, &out,
1115 func(p *SliceRange, s *semantic.SliceRange) {
1116 s.AST = d.astIndex(p.Ast)
1117 s.Type = d.slice(p.Type)
1118 s.Slice = d.expr(p.Slice)
1119 s.Range = d.expr(p.Range).(*semantic.BinaryOp)
1120 })
1121 return
1122}
1123
1124func (d *decoder) stat(statID uint64) semantic.Statement {
1125 if statID == 0 {

Callers 1

exprMethod · 0.95

Calls 4

buildMethod · 0.95
astIndexMethod · 0.95
sliceMethod · 0.95
exprMethod · 0.95

Tested by

no test coverage detected