Lines Matching refs:Declaration
281 SetUpTypeParameterConstraint(found->Declaration()->Node()->AsTSTypeParameter());
431 ASSERT(it->Declaration()->Node()->IsClassProperty());
432 auto *classProp = it->Declaration()->Node()->AsClassProperty();
439 ASSERT(it->Declaration()->Node()->IsClassProperty());
440 auto *classProp = it->Declaration()->Node()->AsClassProperty();
450 auto *method = it->Declaration()->Node()->AsMethodDefinition();
467 if (!it->Declaration()->Node()->IsMethodDefinition()) {
471 auto *method = it->Declaration()->Node()->AsMethodDefinition();
497 it->AddFlag(checker->GetAccessFlagFromNode(it->Declaration()->Node()));
503 it->AddFlag(checker->GetAccessFlagFromNode(it->Declaration()->Node()));
570 auto *typeDecl = typeAnnotation->AsETSTypeReference()->Part()->Name()->AsIdentifier()->Variable()->Declaration();
753 if (auto *const func = prop->Declaration()->Node()->AsMethodDefinition()->Function();
803 implemented->OwnerVar()->Declaration()->Node()->Check(this);
846 field->Declaration()->Node()->Clone(Allocator(), classType->GetDeclNode())->AsClassProperty();
880 field->Declaration()->Node()->AddModifier(isGetSetExternal.isGetter && isGetSetExternal.isSetter
1271 if (!(prop->Declaration()->IsConstDecl() || prop->Declaration()->IsReadonlyDecl()) ||
1281 const bool classVarStatic = classVar->Declaration()->Node()->AsClassProperty()->IsStatic();
1301 LogTypeError({"Variable '", classVar->Declaration()->Name(), "' might already have been initialized"},
1334 LogTypeError({"Variable '", classVar->Declaration()->Name(), "' might not have been initialized"},
1345 LogTypeError("Inner class cannot have static methods", it->Declaration()->Node()->Start());
1350 if (!it->Declaration()->IsReadonlyDecl()) {
1351 LogTypeError("Inner class cannot have non-readonly static properties", it->Declaration()->Node()->Start());
1677 (targetRef != nullptr && targetRef->Declaration() != nullptr &&
1678 targetRef->Declaration()->IsLetOrConstDecl()) ||
2018 ASSERT(field->Declaration()->Node()->IsClassProperty());
2019 auto *const originalProp = field->Declaration()->Node()->AsClassProperty();
2027 field->Declaration()->Node()->Start());