Lines Matching refs:fErrors
108 , fErrors(errorReporter) {}
111 fSymbolTable.reset(new SymbolTable(std::move(fSymbolTable), fErrors));
232 fErrors.error(size->fPosition, "array size must be positive");
409 fErrors.error(caseValue->fPosition, "case value must be a constant");
415 fErrors.error(caseValue->fPosition, "duplicate case value");
452 fErrors.error(result->fPosition, "may not return a value from a void function");
462 fErrors.error(r.fPosition, "expected function to return '" +
473 fErrors.error(b.fPosition, "break statement must be inside a loop or switch");
482 fErrors.error(c.fPosition, "continue statement must be inside a loop");
530 fErrors.error(f.fPosition, "symbol '" + f.fName + "' was already defined");
546 fErrors.error(f.fPosition, "functions '" + newDecl.description() +
554 fErrors.error(f.fPosition, "modifiers on parameter " +
562 fErrors.error(f.fPosition, "duplicate definition of " +
614 fErrors.error(decl->fPosition,
621 fErrors.error(decl->fPosition,
640 fErrors.error(converted->fPosition, "array size must be positive");
689 fErrors.error(type.fPosition, "unknown type '" + type.fName + "'");
722 fErrors.error(identifier.fPosition, "unknown identifier '" + identifier.fText + "'");
789 fErrors.error(expr->fPosition, "expected '" + type.description() + "', but found '" +
976 fErrors.error(right.fPosition, "division by zero");
982 fErrors.error(right.fPosition, "division by zero");
1010 fErrors.error(right.fPosition, "division by zero");
1041 fErrors.error(expression.fPosition, "type mismatch: '" +
1087 fErrors.error(expression.fPosition, "ternary operator result mismatch: '" +
1125 fErrors.error(position, msg);
1139 fErrors.error(position, msg);
1193 fErrors.error(position, "'" + functionValue->description() + "' is not a function");
1218 fErrors.error(position, msg);
1230 fErrors.error(position, "invalid arguments to '" + type.description() +
1257 fErrors.error(position, "invalid argument to '" + type.description() +
1295 fErrors.error(position, "'" + args[i]->fType.description() + "' is not a valid "
1310 fErrors.error(position, "'" + args[i]->fType.description() + "' is not a valid "
1316 fErrors.error(position, "invalid arguments to '" + type.description() +
1350 fErrors.error(position, "cannot construct '" + type.description() + "'");
1364 fErrors.error(expression.fPosition,
1371 fErrors.error(expression.fPosition,
1387 fErrors.error(expression.fPosition,
1396 fErrors.error(expression.fPosition,
1405 fErrors.error(expression.fPosition,
1417 fErrors.error(expression.fPosition,
1443 fErrors.error(base->fPosition, "array size must be a constant");
1449 fErrors.error(base->fPosition, "expected array, but found '" + base->fType.description() +
1475 fErrors.error(base->fPosition, "type '" + base->fType.description() + "' does not have a "
1483 fErrors.error(base->fPosition, "cannot swizzle type '" + base->fType.description() + "'");
1519 fErrors.error(base->fPosition, SkStringPrintf("invalid swizzle component '%c'",
1526 fErrors.error(base->fPosition, "too many components in swizzle mask '" + fields + "'");
1535 fErrors.error(position, "unknown capability flag '" + name + "'");
1569 fErrors.error(expression.fPosition, "'[]' must follow a type name");
1599 fErrors.error(base->fPosition, "cannot swizzle value of type '" +
1606 fErrors.error(expression.fPosition,
1615 fErrors.error(expression.fPosition,
1630 fErrors.error(expr.fPosition, "expected '(' to begin function call");
1633 fErrors.error(expr.fPosition, "expected '(' to begin constructor invocation");
1637 fErrors.error(expr.fPosition, "invalid expression");
1660 fErrors.error(expr.fPosition,
1672 fErrors.error(expr.fPosition,
1681 fErrors.error(expr.fPosition, "cannot assign to '" + expr.description() + "'");