/arkcompiler/ets_frontend/ets2panda/ir/expressions/ |
H A D | objectExpression.h | 30 class ObjectExpression : public AnnotatedExpression { class 35 ObjectExpression() = delete; 36 ~ObjectExpression() override = default; 38 NO_COPY_SEMANTIC(ObjectExpression); 39 NO_MOVE_SEMANTIC(ObjectExpression); 41 explicit ObjectExpression(AstNodeType nodeType, ArenaAllocator *allocator, ArenaVector<Expression *> &&properties, in ObjectExpression() function in ark::es2panda::ark::es2panda::ark::es2panda::ir::ObjectExpression 49 explicit ObjectExpression(Tag tag, ObjectExpression const &other, ArenaAllocator *allocator); 99 [[nodiscard]] ObjectExpression *Clone(ArenaAllocator *allocator, AstNode *parent) override;
|
H A D | objectExpression.cpp | 40 ObjectExpression::ObjectExpression([[maybe_unused]] Tag const tag, ObjectExpression const &other, in ObjectExpression() function in ark::es2panda::ir::ObjectExpression 60 ObjectExpression *ObjectExpression::Clone(ArenaAllocator *const allocator, AstNode *const parent) in Clone() 62 if (auto *const clone = allocator->New<ObjectExpression>(Tag {}, *this, allocator); clone != nullptr) { in Clone() 85 ValidationInfo ObjectExpression::ValidateExpression() in ValidateExpression() 130 bool ObjectExpression::ConvertibleToObjectPattern() in ConvertibleToObjectPattern() 184 void ObjectExpression::SetDeclaration() in SetDeclaration() 189 void ObjectExpression [all...] |
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/ |
H A D | recordLowering.h | 31 ir::Expression *UpdateObjectExpression(ir::ObjectExpression *expr, public_lib::Context *ctx); 34 ir::Expression *CreateBlockExpression(ir::ObjectExpression *expr, checker::Type *keyType, checker::Type *valueType, 38 void CheckDuplicateKey(KeySetType &keySet, ir::ObjectExpression *expr, public_lib::Context *ctx); 39 void CheckLiteralsCompleteness(KeySetType &keySet, ir::ObjectExpression *expr, public_lib::Context *ctx);
|
H A D | recordLowering.cpp | 98 void RecordLowering::CheckDuplicateKey(KeySetType &keySet, ir::ObjectExpression *expr, public_lib::Context *ctx) in CheckDuplicateKey() 133 void RecordLowering::CheckLiteralsCompleteness(KeySetType &keySet, ir::ObjectExpression *expr, public_lib::Context *ctx) in CheckLiteralsCompleteness() 173 ir::Expression *RecordLowering::UpdateObjectExpression(ir::ObjectExpression *expr, public_lib::Context *ctx) in UpdateObjectExpression() 220 ir::Expression *RecordLowering::CreateBlockExpression(ir::ObjectExpression *expr, checker::Type *keyType, in CreateBlockExpression()
|
H A D | interfaceObjectLiteralLowering.cpp | 154 const ArenaVector<ir::AstNode *> &ifaceBody, ir::ObjectExpression *objExpr) in FillClassBody() 182 ir::TSInterfaceDeclaration *ifaceNode, ir::ObjectExpression *objExpr) in FillAnonClassBody() 194 ir::ObjectExpression *objExpr) in GenerateAnonClassTypeFromInterface() 233 static void HandleInterfaceLowering(checker::ETSChecker *checker, ir::ObjectExpression *objExpr) in HandleInterfaceLowering()
|
H A D | objectLiteralLowering.cpp | 105 static void GenerateNewStatements(checker::ETSChecker *checker, ir::ObjectExpression *objExpr, std::stringstream &ss, in GenerateNewStatements() 152 static ir::AstNode *HandleObjectLiteralLowering(public_lib::Context *ctx, ir::ObjectExpression *objExpr) in HandleObjectLiteralLowering()
|
/arkcompiler/ets_frontend/es2panda/ir/expressions/ |
H A D | objectExpression.cpp | 84 ValidationInfo ObjectExpression::ValidateExpression() in ValidateExpression() 126 bool ObjectExpression::ConvertibleToObjectPattern() in ConvertibleToObjectPattern() 179 void ObjectExpression::SetDeclaration() in SetDeclaration() 184 void ObjectExpression::SetOptional(bool optional) in SetOptional() 189 void ObjectExpression::SetTsTypeAnnotation(Expression *typeAnnotation) in SetTsTypeAnnotation() 194 void ObjectExpression::Iterate(const NodeTraverser &cb) const in Iterate() 205 void ObjectExpression::Dump(ir::AstDumper *dumper) const in Dump() 207 dumper->Add({{"type", (type_ == AstNodeType::OBJECT_EXPRESSION) ? "ObjectExpression" : "ObjectPattern"}, in Dump() 213 void ObjectExpression::FillInLiteralBuffer(compiler::LiteralBuffer *buf, in FillInLiteralBuffer() 228 void ObjectExpression [all...] |
H A D | importExpression.h | 35 explicit ImportExpression(Expression *source, ObjectExpression *importAssertion) in ImportExpression() 47 ObjectExpression *importAssertion_;
|
H A D | objectExpression.h | 39 class ObjectExpression : public Expression { class 41 explicit ObjectExpression(AstNodeType nodeType, ArenaVector<Expression *> &&properties, bool trailingComma) in ObjectExpression() function in panda::es2panda::panda::es2panda::panda::es2panda::panda::es2panda::ir::ObjectExpression
|
/arkcompiler/ets_frontend/ets2panda/compiler/core/ |
H A D | JSCompiler.h | 41 const ir::ObjectExpression *expr) const; 43 const ir::ObjectExpression *expr) const;
|
/arkcompiler/ets_frontend/ets2panda/checker/ |
H A D | ETSAnalyzer.h | 39 checker::Type *PreferredType(ir::ObjectExpression *expr) const; 41 void CheckObjectExprProps(const ir::ObjectExpression *expr, checker::PropertySearchFlags searchFlags) const;
|
H A D | TSchecker.h | 55 class ObjectExpression; 353 ir::ObjectExpression *param); 369 Type *CreateParameterTypeForObjectAssignmentPattern(ir::ObjectExpression *objectPattern, Type *inferredType);
|
/arkcompiler/ets_frontend/es2panda/compiler/base/ |
H A D | destructuring.cpp | 126 static void GenObjectProperty(PandaGen *pg, const ir::ObjectExpression *object, in GenObjectProperty() 174 static void GenObjectWithRest(PandaGen *pg, const ir::ObjectExpression *object, VReg rhs) in GenObjectWithRest() 214 static void GenObject(PandaGen *pg, const ir::ObjectExpression *object, VReg rhs) in GenObject()
|
/arkcompiler/ets_frontend/ets2panda/compiler/base/ |
H A D | destructuring.cpp | 189 static void GenObjectWithRest(PandaGen *pg, const ir::ObjectExpression *object, VReg rhs) in GenObjectWithRest() 232 static void GenObject(PandaGen *pg, const ir::ObjectExpression *object, VReg rhs) in GenObject()
|
/arkcompiler/ets_frontend/ets2panda/parser/ |
H A D | forwardDeclForParserImpl.h | 54 class ObjectExpression;
|
H A D | TypedParser.h | 154 ParserStatus ValidateArrowParameterObject(ir::ObjectExpression *objectPattern);
|
H A D | expressionTSParser.cpp | 389 ir::ObjectExpression *TSParser::ParseObjectExpression(ExpressionParseFlags flags) in ParseObjectExpression() 391 ir::ObjectExpression *objExpression = ParserImpl::ParseObjectExpression(flags); in ParseObjectExpression()
|
H A D | TSparser.h | 91 ir::ObjectExpression *ParseObjectExpression(ExpressionParseFlags flags = ExpressionParseFlags::NO_OPTS) override;
|
/arkcompiler/ets_frontend/es2panda/typescript/core/ |
H A D | destructuringContext.h | 56 void ValidateObjectLiteralType(ObjectType *objType, const ir::ObjectExpression *objPattern);
|
H A D | function.cpp | 169 Type *Checker::CreateParameterTypeForObjectAssignmentPattern(const ir::ObjectExpression *objectPattern, in CreateParameterTypeForObjectAssignmentPattern() 243 const ir::ObjectExpression *objectPattern = param->Left()->AsObjectPattern(); in CheckFunctionAssignmentPatternParameter() 348 const ir::ObjectExpression *param) in CheckFunctionObjectPatternParameter()
|
/arkcompiler/ets_frontend/ets2panda/checker/ts/ |
H A D | destructuringContext.h | 68 void ValidateObjectLiteralType(ObjectType *objType, ir::ObjectExpression *objPattern);
|
H A D | function.cpp | 166 Type *TSChecker::CreateParameterTypeForObjectAssignmentPattern(ir::ObjectExpression *objectPattern, Type *inferredType) in CreateParameterTypeForObjectAssignmentPattern() 238 ir::ObjectExpression *objectPattern = param->Left()->AsObjectPattern(); in CheckFunctionAssignmentPatternParameter() 327 ir::ObjectExpression *param) in CheckFunctionObjectPatternParameter()
|
/arkcompiler/ets_frontend/es2panda/typescript/ |
H A D | checker.h | 56 class ObjectExpression; 426 const ir::ObjectExpression *param); 439 Type *CreateParameterTypeForObjectAssignmentPattern(const ir::ObjectExpression *objectPattern, Type *inferedType);
|
/arkcompiler/ets_frontend/es2panda/ir/ |
H A D | astNodeMapping.h | 159 _(OBJECT_EXPRESSION, OBJECT_PATTERN, ObjectExpression, ObjectPattern) \
|
/arkcompiler/ets_frontend/es2panda/parser/ |
H A D | parserImpl.h | 68 class ObjectExpression; 424 ir::ObjectExpression *ParseObjectExpression(ExpressionParseFlags flags = ExpressionParseFlags::NO_OPTS); 442 ir::ObjectExpression *ParseImportAssertionForDynamicImport(); 443 void ValidateImportAssertionForDynamicImport(ir::ObjectExpression *importAssertion);
|