MCPcopy Create free account
hub / github.com/cel-expr/cel-go / EnableMacroCallTracking

Function EnableMacroCallTracking

cel/options.go:896–898  ·  view source on GitHub ↗

EnableMacroCallTracking ensures that call expressions which are replaced by macros are tracked in the `SourceInfo` of parsed and checked expressions.

()

Source from the content-addressed store, hash-verified

894// EnableMacroCallTracking ensures that call expressions which are replaced by macros
895// are tracked in the `SourceInfo` of parsed and checked expressions.
896func EnableMacroCallTracking() EnvOption {
897 return features(featureEnableMacroCallTracking, true)
898}
899
900// EnableIdentifierEscapeSyntax enables identifier escaping (`) syntax for
901// fields.

Callers 15

TestCoverageStatsFunction · 0.92
compileRuleMethod · 0.92
compileFunction · 0.92
testSetsEnvFunction · 0.92
testCompreEnvFunction · 0.92
testMathEnvFunction · 0.92
TestInliningOptimizerFunction · 0.92
optimizerEnvFunction · 0.92

Calls 1

featuresFunction · 0.85

Tested by 15

TestCoverageStatsFunction · 0.74
compileRuleMethod · 0.74
compileFunction · 0.74
testSetsEnvFunction · 0.74
testCompreEnvFunction · 0.74
testMathEnvFunction · 0.74
TestInliningOptimizerFunction · 0.74
optimizerEnvFunction · 0.74
TestExprToStringFunction · 0.68