Skip to content

Commit ab7a133

Browse files
CEL Dev Teamcopybara-github
authored andcommitted
Couldn't find CelMutableExpr in repo here - https://github.com/google/cel-spec. So, believe this is an internal change.
PiperOrigin-RevId: 806154757
1 parent 0bb2f72 commit ab7a133

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

common/src/main/java/dev/cel/common/ast/CelMutableExpr.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1034,6 +1034,10 @@ public static CelMutableExpr ofMap(long id, CelMutableMap mutableMap) {
10341034
return new CelMutableExpr(id, mutableMap);
10351035
}
10361036

1037+
public static CelMutableExpr ofComprehension(CelMutableComprehension mutableComprehension) {
1038+
return ofComprehension(0, mutableComprehension);
1039+
}
1040+
10371041
public static CelMutableExpr ofComprehension(
10381042
long id, CelMutableComprehension mutableComprehension) {
10391043
return new CelMutableExpr(id, mutableComprehension);

0 commit comments

Comments
 (0)