Lines Matching refs:varbinder
34 #include "varbinder/variable.h"
35 #include "varbinder/scope.h"
52 const ArenaVector<varbinder::LocalVariable *> &properties = objType->Properties();
56 if (it->HasFlag(varbinder::VariableFlags::NUMERIC_NAME)) {
200 varbinder::Variable *prop = member->AsTSPropertySignature()->Variable();
211 varbinder::Variable *method = member->AsTSMethodSignature()->Variable();
271 varbinder::Variable *TSChecker::GetPropertyOfType(Type *type, const util::StringView &name, bool getPartial,
272 varbinder::VariableFlags propagateFlags)
286 varbinder::Variable *TSChecker::GetPropertyOfUnionType(UnionType *type, const util::StringView &name, bool getPartial,
287 varbinder::VariableFlags propagateFlags)
294 varbinder::VariableFlags flags = varbinder::VariableFlags::PROPERTY;
298 varbinder::Variable *prop = GetPropertyOfType(it, name);
328 if (prop->HasFlag(varbinder::VariableFlags::OPTIONAL)) {
329 flags |= varbinder::VariableFlags::OPTIONAL;
339 varbinder::Variable *syntheticProp = varbinder::Scope::CreateVar(Allocator(), name, flags, nullptr);
398 varbinder::Variable *prop = nullptr;
411 if (prop->HasFlag(varbinder::VariableFlags::READONLY)) {
443 varbinder::InterfaceDecl *decl = type->Variable()->Declaration()->AsInterfaceDecl();
493 void TSChecker::CheckExtendsBases(ObjectType *&baseObj, InterfaceType *&type, varbinder::InterfaceDecl *&decl)
511 varbinder::InterfaceDecl *decl = type->Variable()->Declaration()->AsInterfaceDecl();
528 bool TSChecker::ValidateInterfaceMemberRedeclaration(ObjectType *type, varbinder::Variable *prop,
531 if (prop->HasFlag(varbinder::VariableFlags::COMPUTED)) {
535 varbinder::Variable *found = type->GetProperty(prop->Name(), false);