MCPcopy
hub / github.com/expr-lang/expr / ParseWithConfig

Function ParseWithConfig

parser/parser.go:147–149  ·  view source on GitHub ↗
(input string, config *conf.Config)

Source from the content-addressed store, hash-verified

145}
146
147func ParseWithConfig(input string, config *conf.Config) (*Tree, error) {
148 return new(Parser).Parse(input, config)
149}
150
151func (p *Parser) error(format string, args ...any) {
152 p.errorAt(p.current, format, args...)

Callers 6

BenchmarkCheckerFunction · 0.92
ParseCheckFunction · 0.92
TestNodeBudgetFunction · 0.92
TestNodeBudgetDisabledFunction · 0.92
TestIssue844Function · 0.92
ParseFunction · 0.85

Calls 1

ParseMethod · 0.80

Tested by 4

BenchmarkCheckerFunction · 0.74
TestNodeBudgetFunction · 0.74
TestNodeBudgetDisabledFunction · 0.74
TestIssue844Function · 0.74

Used in the wild real call sites across dependent graphs

searching dependent graphs…