Lines Matching refs:newBadExpr
1003 func (ctx *parseContext) newBadExpr(node mkparser.Node, text string, args ...interface{}) starlarkE… func
1013 return &exprNode{ctx.newBadExpr(failedNode, message, args...)}
1025 return ctx.newBadExpr(cond, "ifeq/ifneq len(args) != 2 %s", cond.Dump())
1165 return ctx.newBadExpr(directive, "wildcard result can be compared only to empty: %s", xValue)
1205 …return ctx.newBadExpr(directive, "$(findstring) can only be compared to nothing or its first argum…
1211 return ctx.newBadExpr(directive, "strip result can be compared only to string: %s", xValue)
1262 return ctx.newBadExpr(node, "reference is too complex: %s", refDump)
1270 …return ctx.newBadExpr(node, "SOONG_CONFIG_ variables cannot be referenced, use soong_config_get in…
1277 return ctx.newBadExpr(node, "Invalid substitution reference")
1281 …return ctx.newBadExpr(node, "A substitution reference must have a %% in the \"before\" part of the…
1288 return ctx.newBadExpr(node, "unknown variable %s", refDump)
1303 return ctx.newBadExpr(node, "unknown variable %s", refDump)
1310 return ctx.newBadExpr(node, "cannot handle invoking %s", name)
1313 return ctx.newBadExpr(node, "cannot handle %s", refDump)
1385 return ctx.newBadExpr(node, "my-dir function cannot have any arguments passed to it.")
1394 return ctx.newBadExpr(node, "is-product-in-list requires an argument")
1407 return ctx.newBadExpr(node, "cannot handle non-constant argument to is-vendor-board-platform")
1420 return ctx.newBadExpr(node, "is-vendor-board-qcom does not accept any arguments")
1436 return ctx.newBadExpr(node, "%s function should have 3 arguments", p.fname)
1471 …return ctx.newBadExpr(node, "if function should have 2 or 3 arguments, found "+strconv.Itoa(len(wo…
1539 …return ctx.newBadExpr(node, "foreach function should have 3 arguments, found "+strconv.Itoa(len(wo…
1542 …return ctx.newBadExpr(node, "first argument to foreach function must be a simple string identifier…
1638 return ctx.newBadExpr(node, "word function should have 2 arguments")
1645 return ctx.newBadExpr(node, "word index should be constant positive integer")
1716 return ctx.newBadExpr(node, err.Error())
1733 return ctx.newBadExpr(node, err.Error())