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

Method configuredExpressionSizeLimit

cel/env.go:441–446  ·  view source on GitHub ↗

configuredExpressionSizeLimit returns the effective expression size code point limit. A zero value means "use the parser default".

()

Source from the content-addressed store, hash-verified

439// configuredExpressionSizeLimit returns the effective expression size code point limit.
440// A zero value means "use the parser default".
441func (e *Env) configuredExpressionSizeLimit() int {
442 if l := e.limits[limitCodePointSize]; l != 0 {
443 return l
444 }
445 return 100_000
446}
447
448// Compile combines the Parse and Check phases CEL program compilation to produce an Ast and
449// associated issues.

Callers 2

CompileMethod · 0.95
ParseMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected