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

Function ParserRecursionLimit

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

988// ParserRecursionLimit adjusts the AST depth the parser will tolerate.
989// Defaults defined in the parser package.
990func ParserRecursionLimit(limit int) EnvOption {
991 return setLimit(limitParseRecursionDepth, limit)
992}
993
994// ParserErrorRecoveryLimit sets the number of attemtps the parser will take
995// 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