Returns the maximum recursion depth of the current program if it is eligible for recursion, or nullopt if it is not.
| 1081 | // Returns the maximum recursion depth of the current program if it is |
| 1082 | // eligible for recursion, or nullopt if it is not. |
| 1083 | absl::optional<int> RecursionEligible() { |
| 1084 | if (!PlanRecursiveProgram() || program_builder_.current() == nullptr) { |
| 1085 | return absl::nullopt; |
| 1086 | } |
| 1087 | return program_builder_.current()->RecursiveDependencyDepth(); |
| 1088 | } |
| 1089 | |
| 1090 | std::vector<std::unique_ptr<DirectExpressionStep>> |
| 1091 | ExtractRecursiveDependencies() { |
nothing calls this directly
no test coverage detected