Lines Matching defs:context
15 std::unique_ptr<Expression> ConstructorArray::Convert(const Context& context,
22 if (context.fConfig->strictES2Mode()) {
23 context.fErrors->error(line, "construction of array type '" + type.displayName() +
38 return ConstructorArrayCast::Make(context, line, type, std::move(args.front()));
44 context.fErrors->error(line, String::printf("invalid arguments to '%s' constructor "
54 argument = baseType.coerceExpression(std::move(argument), context);
60 return ConstructorArray::Make(context, line, type, std::move(args));
63 std::unique_ptr<Expression> ConstructorArray::Make(const Context& context,
67 SkASSERT(!context.fConfig->strictES2Mode());
68 SkASSERT(type.isAllowedInES2(context));