| 84 | } |
| 85 | |
| 86 | absl::StatusOr<ComprehensionSlots::Slot* absl_nonnull> LookupSlot( |
| 87 | absl::string_view name, size_t slot_index, ExecutionFrameBase& frame) { |
| 88 | ComprehensionSlots::Slot* slot = frame.comprehension_slots().Get(slot_index); |
| 89 | if (!slot->Has()) { |
| 90 | return absl::InternalError( |
| 91 | absl::StrCat("Comprehension variable accessed out of scope: ", name)); |
| 92 | } |
| 93 | return slot; |
| 94 | } |
| 95 | |
| 96 | class SlotStep : public ExpressionStepBase { |
| 97 | public: |
no test coverage detected