MCPcopy Index your code
hub / github.com/cockscomb/cel2sql / visitCallIndex

Method visitCallIndex

cel2sql.go:501–506  ·  view source on GitHub ↗
(expr *exprpb.Expr)

Source from the content-addressed store, hash-verified

499}
500
501func (con *converter) visitCallIndex(expr *exprpb.Expr) error {
502 if isMapType(con.getType(expr.GetCallExpr().GetArgs()[0])) {
503 return con.visitCallMapIndex(expr)
504 }
505 return con.visitCallListIndex(expr)
506}
507
508func (con *converter) visitCallMapIndex(expr *exprpb.Expr) error {
509 c := expr.GetCallExpr()

Callers 1

visitCallMethod · 0.95

Calls 4

getTypeMethod · 0.95
visitCallMapIndexMethod · 0.95
visitCallListIndexMethod · 0.95
isMapTypeFunction · 0.85

Tested by

no test coverage detected