MCPcopy Create free account
hub / github.com/cel-expr/cel-cpp / set_target

Method set_target

eval/compiler/flat_expr_builder.cc:178–183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176 }
177
178 absl::Status set_target(ProgramStepIndex target) {
179 CEL_ASSIGN_OR_RETURN(int offset, CalculateOffset(self_index_, target));
180
181 jump_step_->set_jump_offset(offset);
182 return absl::OkStatus();
183 }
184
185 bool exists() { return jump_step_ != nullptr; }
186

Callers 8

PostVisitMethod · 0.45
PostVisitArgMethod · 0.45
PostVisitArgDefaultMethod · 0.45
MaybeUpdateCallNodeMethod · 0.45
MakeCallMethod · 0.45
MakeCallMethod · 0.45
MakeCallMethod · 0.45
TEST_PFunction · 0.45

Calls 1

set_jump_offsetMethod · 0.45

Tested by 4

MakeCallMethod · 0.36
MakeCallMethod · 0.36
MakeCallMethod · 0.36
TEST_PFunction · 0.36