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

Function ParserRecursionLimit

cel/options.go:1176–1178  ·  view source on GitHub ↗

ParserRecursionLimit adjusts the AST depth the parser will tolerate. Defaults defined in the parser package.

(limit int)

Source from the content-addressed store, hash-verified

1174// ParserRecursionLimit adjusts the AST depth the parser will tolerate.
1175// Defaults defined in the parser package.
1176func ParserRecursionLimit(limit int) EnvOption {
1177 return setLimit(limitParseRecursionDepth, limit)
1178}
1179
1180// ParserErrorRecoveryLimit sets the number of attemtps the parser will take
1181// to recover after encountering an error.

Callers 3

getCELFuzzEnvFunction · 0.92
TestParserRecursionLimitFunction · 0.85
TestQuotedFieldsFunction · 0.85

Calls 1

setLimitFunction · 0.85

Tested by 2

TestParserRecursionLimitFunction · 0.68
TestQuotedFieldsFunction · 0.68