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

Function EnableMacroCallTracking

cel/options.go:956–958  ·  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

954// EnableMacroCallTracking ensures that call expressions which are replaced by macros
955// are tracked in the `SourceInfo` of parsed and checked expressions.
956func EnableMacroCallTracking() EnvOption {
957 return features(featureEnableMacroCallTracking, true)
958}
959
960// EnableIdentifierEscapeSyntax enables identifier escaping (`) syntax for
961// fields.

Callers 15

TestCoverageStatsFunction · 0.92
compileRuleMethod · 0.92
compileFunction · 0.92
testSetsEnvFunction · 0.92
testEncodersCostsEnvFunction · 0.92
testCompreEnvFunction · 0.92
testMathEnvFunction · 0.92
testMathCostsEnvFunction · 0.92
TestInliningOptimizerFunction · 0.92

Calls 1

featuresFunction · 0.85

Tested by 15

TestCoverageStatsFunction · 0.74
compileRuleMethod · 0.74
compileFunction · 0.74
testSetsEnvFunction · 0.74
testEncodersCostsEnvFunction · 0.74
testCompreEnvFunction · 0.74
testMathEnvFunction · 0.74
testMathCostsEnvFunction · 0.74
TestInliningOptimizerFunction · 0.74