bool Expression::isIncomplete(const Context& context) const { switch (this->kind()) { case Kind::kFunctionReference:
context.fErrors->error(fPosition.after(), "expected '(' to begin function call"); returntrue;
case Kind::kMethodReference:
context.fErrors->error(fPosition.after(), "expected '(' to begin method call"); returntrue;
case Kind::kTypeReference:
context.fErrors->error(fPosition.after(), "expected '(' to begin constructor invocation"); returntrue;
case Kind::kVariableReference: if (this->type().matches(*context.fTypes.fSkCaps)) {
context.fErrors->error(fPosition, "invalid expression"); returntrue;
} returnfalse;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.