Lines Matching refs:Literal
32 bool rightVal = right.as<Literal>().boolValue();
50 bool leftVal = left.as<Literal>().boolValue();
77 return Literal::MakeBool(context, left.fLine, equality);
126 args.push_back(Literal::Make(left.fLine, value, &componentType));
144 *out = expr->as<Literal>().intValue();
150 if (!expr->is<Literal>()) {
153 *out = expr->as<Literal>().value();
316 return Literal::Make(line, result, resultType);
330 return Literal::Make(line, result, resultType);
358 bool leftVal = left->as<Literal>().boolValue();
359 bool rightVal = right->as<Literal>().boolValue();
369 return Literal::MakeBool(context, line, result);
392 return Literal::MakeBool(context, leftExpr.fLine, /*value=*/true);
398 return Literal::MakeBool(context, leftExpr.fLine, /*value=*/false);
427 SKSL_INT leftVal = left->as<Literal>().intValue();
428 SKSL_INT rightVal = right->as<Literal>().intValue();
483 SKSL_FLOAT leftVal = left->as<Literal>().floatValue();
484 SKSL_FLOAT rightVal = right->as<Literal>().floatValue();
568 return Literal::MakeBool(context, line, equality);