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

Function ParserRecursionLimit

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

935// ParserRecursionLimit adjusts the AST depth the parser will tolerate.
936// Defaults defined in the parser package.
937func ParserRecursionLimit(limit int) EnvOption {
938 return setLimit(limitParseRecursionDepth, limit)
939}
940
941// ParserErrorRecoveryLimit sets the number of attemtps the parser will take
942// to recover after encountering an error.

Callers 2

TestParserRecursionLimitFunction · 0.85
TestQuotedFieldsFunction · 0.85

Calls 1

setLimitFunction · 0.85

Tested by 2

TestParserRecursionLimitFunction · 0.68
TestQuotedFieldsFunction · 0.68