EnableMacroCallTracking ensures that call expressions which are replaced by macros are tracked in the `SourceInfo` of parsed and checked expressions. This is required for Env.ResidualAst to succeed when the residual Ast contains an unresolved comprehension macro (all, exists, exists_one, filter, ma
()
| 1107 | // ResidualAst cannot re-serialize the macro's expanded internal representation back |
| 1108 | // into CEL source syntax and returns an error instead of the residual expression. |
| 1109 | func EnableMacroCallTracking() EnvOption { |
| 1110 | return features(featureEnableMacroCallTracking, true) |
| 1111 | } |
| 1112 | |
| 1113 | // EnableIdentifierEscapeSyntax enables identifier escaping (`) syntax for |
| 1114 | // fields. |