Home
last modified time | relevance | path

Searched refs:ObjectExpression (Results 1 - 25 of 40) sorted by relevance

12

/arkcompiler/ets_frontend/ets2panda/ir/expressions/
H A DobjectExpression.h30 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 DobjectExpression.cpp40 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 DrecordLowering.h31 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 DrecordLowering.cpp98 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 DinterfaceObjectLiteralLowering.cpp154 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 DobjectLiteralLowering.cpp105 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 DobjectExpression.cpp84 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 DimportExpression.h35 explicit ImportExpression(Expression *source, ObjectExpression *importAssertion) in ImportExpression()
47 ObjectExpression *importAssertion_;
H A DobjectExpression.h39 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 DJSCompiler.h41 const ir::ObjectExpression *expr) const;
43 const ir::ObjectExpression *expr) const;
/arkcompiler/ets_frontend/ets2panda/checker/
H A DETSAnalyzer.h39 checker::Type *PreferredType(ir::ObjectExpression *expr) const;
41 void CheckObjectExprProps(const ir::ObjectExpression *expr, checker::PropertySearchFlags searchFlags) const;
H A DTSchecker.h55 class ObjectExpression;
353 ir::ObjectExpression *param);
369 Type *CreateParameterTypeForObjectAssignmentPattern(ir::ObjectExpression *objectPattern, Type *inferredType);
/arkcompiler/ets_frontend/es2panda/compiler/base/
H A Ddestructuring.cpp126 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 Ddestructuring.cpp189 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 DforwardDeclForParserImpl.h54 class ObjectExpression;
H A DTypedParser.h154 ParserStatus ValidateArrowParameterObject(ir::ObjectExpression *objectPattern);
H A DexpressionTSParser.cpp389 ir::ObjectExpression *TSParser::ParseObjectExpression(ExpressionParseFlags flags) in ParseObjectExpression()
391 ir::ObjectExpression *objExpression = ParserImpl::ParseObjectExpression(flags); in ParseObjectExpression()
H A DTSparser.h91 ir::ObjectExpression *ParseObjectExpression(ExpressionParseFlags flags = ExpressionParseFlags::NO_OPTS) override;
/arkcompiler/ets_frontend/es2panda/typescript/core/
H A DdestructuringContext.h56 void ValidateObjectLiteralType(ObjectType *objType, const ir::ObjectExpression *objPattern);
H A Dfunction.cpp169 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 DdestructuringContext.h68 void ValidateObjectLiteralType(ObjectType *objType, ir::ObjectExpression *objPattern);
H A Dfunction.cpp166 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 Dchecker.h56 class ObjectExpression;
426 const ir::ObjectExpression *param);
439 Type *CreateParameterTypeForObjectAssignmentPattern(const ir::ObjectExpression *objectPattern, Type *inferedType);
/arkcompiler/ets_frontend/es2panda/ir/
H A DastNodeMapping.h159 _(OBJECT_EXPRESSION, OBJECT_PATTERN, ObjectExpression, ObjectPattern) \
/arkcompiler/ets_frontend/es2panda/parser/
H A DparserImpl.h68 class ObjectExpression;
424 ir::ObjectExpression *ParseObjectExpression(ExpressionParseFlags flags = ExpressionParseFlags::NO_OPTS);
442 ir::ObjectExpression *ParseImportAssertionForDynamicImport();
443 void ValidateImportAssertionForDynamicImport(ir::ObjectExpression *importAssertion);

Completed in 14 milliseconds

12