Index of the next step to be inserted, in terms of the current subexpression
| 1736 | // Index of the next step to be inserted, in terms of the current |
| 1737 | // subexpression |
| 1738 | ProgramStepIndex GetCurrentIndex() const { |
| 1739 | // Nonnull while active -- nullptr indicates logic error in the builder. |
| 1740 | ABSL_DCHECK(program_builder_.current() != nullptr); |
| 1741 | return {static_cast<int>(program_builder_.current()->elements().size()), |
| 1742 | program_builder_.current()}; |
| 1743 | } |
| 1744 | |
| 1745 | CondVisitor* FindCondVisitor(const cel::Expr* expr) const { |
| 1746 | if (cond_visitor_stack_.empty()) { |
no test coverage detected