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

Method globalCallOrMacro

parser/pratt_parser.go:343–348  ·  view source on GitHub ↗
(exprID int64, function string, args ...ast.Expr)

Source from the content-addressed store, hash-verified

341}
342
343func (p *prattParserWorker) globalCallOrMacro(exprID int64, function string, args ...ast.Expr) ast.Expr {
344 if expr, found := p.expandMacro(exprID, function, nil, args...); found {
345 return expr
346 }
347 return p.helper.newGlobalCall(exprID, function, args...)
348}
349
350func (p *prattParserWorker) receiverCallOrMacro(exprID int64, function string, target ast.Expr, args ...ast.Expr) ast.Expr {
351 if expr, found := p.expandMacro(exprID, function, target, args...); found {

Callers 2

parseUnaryOpsMethod · 0.95
parseIdentOrCallMethod · 0.95

Calls 2

expandMacroMethod · 0.95
newGlobalCallMethod · 0.80

Tested by

no test coverage detected