Lines Matching refs:TSAnalyzer
16 #include "TSAnalyzer.h"
23 TSChecker *TSAnalyzer::GetTSChecker() const
29 checker::Type *TSAnalyzer::Check(ir::CatchClause *st) const
48 checker::Type *TSAnalyzer::Check([[maybe_unused]] ir::ClassDefinition *node) const
55 checker::Type *TSAnalyzer::Check([[maybe_unused]] ir::MetaProperty *expr) const
62 checker::Type *TSAnalyzer::Check(ir::TSIndexSignature *node) const
87 checker::Type *TSAnalyzer::Check(ir::TSMethodSignature *node) const
115 checker::Type *TSAnalyzer::Check(ir::TSPropertySignature *node) const
135 checker::Type *TSAnalyzer::Check(ir::TSSignatureDeclaration *node) const
242 checker::Type *TSAnalyzer::Check(ir::ArrayExpression *expr) const
306 checker::Type *TSAnalyzer::Check(ir::ArrowFunctionExpression *expr) const
339 checker::Type *TSAnalyzer::CheckAssignmentExprOperatorType(ir::AssignmentExpression *expr, checker::Type *leftType,
377 checker::Type *TSAnalyzer::Check(ir::AssignmentExpression *expr) const
419 checker::Type *TSAnalyzer::Check([[maybe_unused]] ir::AwaitExpression *expr) const
426 checker::Type *TSAnalyzer::CheckBinaryExprArithmLogical(ir::BinaryExpression *expr, ExpressionTypeInfo *leftRightType,
458 checker::Type *TSAnalyzer::Check(ir::BinaryExpression *expr) const
514 checker::Type *TSAnalyzer::Check(ir::CallExpression *expr) const
529 checker::Type *TSAnalyzer::Check(ir::ChainExpression *expr) const
535 checker::Type *TSAnalyzer::Check(ir::ConditionalExpression *expr) const
549 checker::Type *TSAnalyzer::Check(ir::FunctionExpression *expr) const
580 checker::Type *TSAnalyzer::Check(ir::Identifier *expr) const
602 void TSAnalyzer::CheckComputed(ir::MemberExpression *expr, checker::Type *indexType) const
641 checker::Type *TSAnalyzer::Check(ir::MemberExpression *expr) const
685 checker::Type *TSAnalyzer::Check(ir::NewExpression *expr) const
747 void TSAnalyzer::CheckSpread(std::unordered_map<util::StringView, lexer::SourcePosition> &allPropertiesMap,
778 void TSAnalyzer::CheckNonComputed(checker::ObjectDescriptor *desc, ir::Expression *it,
813 checker::IndexInfo *TSAnalyzer::CreateUnionTypeHelper(ArenaVector<checker::Type *> &computedPropTypes,
822 checker::Type *TSAnalyzer::Check(ir::ObjectExpression *expr) const
884 checker::Type *TSAnalyzer::Check([[maybe_unused]] ir::OmittedExpression *expr) const
890 checker::Type *TSAnalyzer::Check([[maybe_unused]] ir::OpaqueTypeNode *expr) const
895 checker::Type *TSAnalyzer::Check([[maybe_unused]] ir::SequenceExpression *expr) const
902 checker::Type *TSAnalyzer::Check([[maybe_unused]] ir::SuperExpression *expr) const
909 checker::Type *TSAnalyzer::Check([[maybe_unused]] ir::TaggedTemplateExpression *expr) const
916 checker::Type *TSAnalyzer::Check([[maybe_unused]] ir::TemplateLiteral *expr) const
923 checker::Type *TSAnalyzer::Check([[maybe_unused]] ir::ThisExpression *expr) const
930 checker::Type *TSAnalyzer::Check([[maybe_unused]] ir::TypeofExpression *expr) const
936 checker::Type *TSAnalyzer::CheckDeleteKeyword([[maybe_unused]] checker::TSChecker *checker,
954 checker::Type *TSAnalyzer::CheckLiteral([[maybe_unused]] checker::TSChecker *checker, ir::UnaryExpression *expr) const
976 checker::Type *TSAnalyzer::Check(ir::UnaryExpression *expr) const
1033 checker::Type *TSAnalyzer::Check(ir::UpdateExpression *expr) const
1051 checker::Type *TSAnalyzer::Check([[maybe_unused]] ir::YieldExpression *expr) const
1058 checker::Type *TSAnalyzer::Check(ir::BigIntLiteral *expr) const
1071 checker::Type *TSAnalyzer::Check(ir::BooleanLiteral *expr) const
1077 checker::Type *TSAnalyzer::Check([[maybe_unused]] ir::NullLiteral *expr) const
1083 checker::Type *TSAnalyzer::Check(ir::NumberLiteral *expr) const
1096 checker::Type *TSAnalyzer::Check([[maybe_unused]] ir::RegExpLiteral *expr) const
1103 checker::Type *TSAnalyzer::Check(ir::StringLiteral *expr) const
1117 checker::Type *TSAnalyzer::Check(ir::BlockStatement *st) const
1129 checker::Type *TSAnalyzer::Check([[maybe_unused]] ir::BreakStatement *st) const
1134 checker::Type *TSAnalyzer::Check(ir::DoWhileStatement *st) const
1146 checker::Type *TSAnalyzer::Check([[maybe_unused]] ir::EmptyStatement *st) const
1151 checker::Type *TSAnalyzer::Check(ir::ExpressionStatement *st) const
1157 checker::Type *TSAnalyzer::Check(ir::ForUpdateStatement *st) const
1180 checker::Type *TSAnalyzer::Check(ir::FunctionDeclaration *st) const
1202 checker::Type *TSAnalyzer::Check(ir::IfStatement *st) const
1218 checker::Type *TSAnalyzer::Check(ir::ReturnStatement *st) const
1249 checker::Type *TSAnalyzer::Check(ir::SwitchStatement *st) const
1283 checker::Type *TSAnalyzer::Check(ir::TryStatement *st) const
1354 checker::Type *TSAnalyzer::Check(ir::VariableDeclarator *st) const
1390 checker::Type *TSAnalyzer::Check(ir::VariableDeclaration *st) const
1400 checker::Type *TSAnalyzer::Check(ir::WhileStatement *st) const
1412 checker::Type *TSAnalyzer::Check([[maybe_unused]] ir::TSAnyKeyword *node) const
1417 checker::Type *TSAnalyzer::Check(ir::TSArrayType *node) const
1463 checker::Type *TSAnalyzer::Check(ir::TSAsExpression *expr) const
1496 checker::Type *TSAnalyzer::Check([[maybe_unused]] ir::TSBigintKeyword *node) const
1501 checker::Type *TSAnalyzer::Check([[maybe_unused]] ir::TSBooleanKeyword *node) const
1506 checker::Type *TSAnalyzer::Check(ir::TSConstructorType *node) const
1621 varbinder::EnumMemberResult TSAnalyzer::EvaluateBinaryExpression(checker::TSChecker *checker,
1643 varbinder::EnumMemberResult TSAnalyzer::EvaluateUnaryExpression(checker::TSChecker *checker,
1670 varbinder::EnumMemberResult TSAnalyzer::EvaluateEnumMember(checker::TSChecker *checker,
1754 void TSAnalyzer::InferEnumVariableType(varbinder::EnumVariable *variable, double *value, bool *initNext,
1808 checker::Type *TSAnalyzer::InferType(checker::TSChecker *checker, bool isConst, ir::TSEnumDeclaration *st) const
1833 checker::Type *TSAnalyzer::Check(ir::TSEnumDeclaration *st) const
1849 checker::Type *TSAnalyzer::Check(ir::TSFunctionType *node) const
1863 checker::Type *TSAnalyzer::Check(ir::TSIndexedAccessType *node) const
1888 checker::Type *TSAnalyzer::Check(ir::TSInterfaceBody *expr) const
1937 checker::Type *TSAnalyzer::Check(ir::TSInterfaceDeclaration *st) const
1972 checker::Type *TSAnalyzer::Check(ir::TSLiteralType *node) const
1979 checker::Type *TSAnalyzer::Check(ir::TSNamedTupleMember *node) const
1986 checker::Type *TSAnalyzer::Check([[maybe_unused]] ir::TSNeverKeyword *node) const
1991 checker::Type *TSAnalyzer::Check([[maybe_unused]] ir::TSNullKeyword *node) const
1996 checker::Type *TSAnalyzer::Check([[maybe_unused]] ir::TSNumberKeyword *node) const
2001 checker::Type *TSAnalyzer::Check(ir::TSParenthesizedType *node) const
2008 checker::Type *TSAnalyzer::Check(ir::TSQualifiedName *expr) const
2031 checker::Type *TSAnalyzer::Check([[maybe_unused]] ir::TSStringKeyword *node) const
2036 checker::Type *TSAnalyzer::Check(ir::TSTupleType *node) const
2047 checker::Type *TSAnalyzer::Check(ir::TSTypeAliasDeclaration *st) const
2054 checker::Type *TSAnalyzer::Check(ir::TSTypeLiteral *node) const
2068 checker::Type *TSAnalyzer::Check(ir::TSTypeQuery *node) const
2079 checker::Type *TSAnalyzer::Check(ir::TSTypeReference *node) const
2086 checker::Type *TSAnalyzer::Check([[maybe_unused]] ir::TSUndefinedKeyword *node) const
2091 checker::Type *TSAnalyzer::Check(ir::TSUnionType *node) const
2102 checker::Type *TSAnalyzer::Check([[maybe_unused]] ir::TSUnknownKeyword *node) const
2107 checker::Type *TSAnalyzer::Check([[maybe_unused]] ir::TSVoidKeyword *node) const