Lines Matching refs:Declaration
125 switch (res.variable->Declaration()->Node()->Type()) {
224 if (ident->IsReference() && res.variable->Declaration()->IsLetOrConstDecl() &&
239 ASSERT(res.variable && res.variable->Declaration()->IsInterfaceDecl());
322 thisParam->Declaration()->BindNode(thisParam_);
380 if ((fieldVar->Declaration()->IsConstDecl() || fieldVar->Declaration()->IsReadonlyDecl()) &&
398 thisParam->Declaration()->BindNode(thisParam_);
410 thisParam->Declaration()->BindNode(thisParam_);
453 auto type = var->Declaration()->Node()->IsClassDefinition() ? "Class '"
454 : var->Declaration()->IsFunctionDecl() ? "Function '"
457 str += variable->Declaration()->Type() == var->Declaration()->Type() ? " is already defined."
479 auto *const currentNode = variable->Declaration()->Node()->AsMethodDefinition();
480 auto *const method = importedVar->Declaration()->Node()->AsMethodDefinition();
515 const auto *const classDef = var->Declaration()->Node()->AsClassDeclaration()->Definition();
520 if (!importGlobalScope->IsForeignBinding(bindingName) && !var->Declaration()->Node()->IsDefaultExported() &&
521 (var->AsLocalVariable()->Declaration()->Node()->IsExported() ||
522 var->AsLocalVariable()->Declaration()->Node()->IsExportedType())) {
524 if (variable != nullptr && var != variable && variable->Declaration()->IsFunctionDecl() &&
525 var->Declaration()->IsFunctionDecl()) {
538 if (!var->Declaration()->Node()->IsDefaultExported()) {
544 if (!var->Declaration()->Node()->IsDefaultExported()) {
659 if (var->Declaration()->Node()->IsDefaultExported()) {
663 if (import->IsTypeKind() && !var->Declaration()->Node()->IsExportedType()) {
668 if (!var->Declaration()->Node()->IsExported() && !var->Declaration()->Node()->IsExportedType()) {
669 ThrowError(importPath->Start(), "Imported element not exported '" + var->Declaration()->Name().Mutf8() + "'");
701 if (overloadAllowed && var->Declaration()->IsFunctionDecl() && otherVar->Declaration()->IsFunctionDecl()) {
766 if (nameToSearchFor == imported && var->Declaration()->Node()->HasExportAlias()) {
777 auto predicateFunc = [](const auto &item) { return item.second->Declaration()->Node()->IsDefaultExported(); };
839 auto predicateFunc = [](const auto &item) { return item.second->Declaration()->Node()->IsDefaultExported(); };
1080 if (var->Declaration()->Node()->IsDefaultExported()) {
1088 if (variable->Declaration()->IsFunctionDecl() && var->Declaration()->IsFunctionDecl()) {
1100 if (insRes.first->second->Declaration()->IsFunctionDecl() && var->Declaration()->IsFunctionDecl()) {