/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/ |
H A D | structLowering.cpp | 52 auto *typeReference = checker->AllocNode<ir::ETSTypeReference>(referencePart); in CreateStructTypeReference() local 54 selfParams.push_back(typeReference); in CreateStructTypeReference() 76 auto *typeReference = checker->AllocNode<ir::ETSTypeReference>(referencePart); in CreateStructTypeReference() local 78 return typeReference; in CreateStructTypeReference()
|
H A D | defaultParameterLowering.cpp | 126 auto *typeReference = checker->AllocNode<ir::ETSTypeReference>(referencePart); in CreateTypeParameterInstantiation() local 128 selfParams.push_back(typeReference); in CreateTypeParameterInstantiation()
|
/arkcompiler/ets_frontend/ets2panda/ir/ets/ |
H A D | etsWildcardType.h | 25 explicit ETSWildcardType(ir::ETSTypeReference *typeReference, ModifierFlags flags) in ETSWildcardType() argument 26 : TypeNode(AstNodeType::ETS_WILDCARD_TYPE, flags), typeReference_(typeReference) in ETSWildcardType() 29 ASSERT(typeReference != nullptr || flags == ModifierFlags::OUT); in ETSWildcardType()
|
H A D | etsNewArrayInstanceExpression.h | 40 explicit ETSNewArrayInstanceExpression(ir::TypeNode *const typeReference, ir::Expression *const dimension) in ETSNewArrayInstanceExpression() argument 42 typeReference_(typeReference), in ETSNewArrayInstanceExpression()
|
H A D | etsNewClassInstanceExpression.h | 43 explicit ETSNewClassInstanceExpression(ir::Expression *const typeReference, in ETSNewClassInstanceExpression() argument 47 typeReference_(typeReference), in ETSNewClassInstanceExpression()
|
H A D | etsNewMultiDimArrayInstanceExpression.h | 40 explicit ETSNewMultiDimArrayInstanceExpression(ir::TypeNode *const typeReference, in ETSNewMultiDimArrayInstanceExpression() argument 43 typeReference_(typeReference), in ETSNewMultiDimArrayInstanceExpression()
|
/arkcompiler/ets_frontend/ets2panda/util/ast-builders/ |
H A D | etsNewMultiDivArrayInstanceExpressionBuilder.h | 32 ETSNewMultiDivArrayInstanceExpressionBuilder &SetTypeReference(TypeNode *typeReference) in SetTypeReference() argument 34 typeReference_ = typeReference; in SetTypeReference()
|
H A D | etsNewArrayInstanceExpressionBuilder.h | 29 ETSNewArrayInstanceExpressionBuilder &SetTypeReference(TypeNode *typeReference) in SetTypeReference() argument 31 typeReference_ = typeReference; in SetTypeReference()
|
H A D | etsWildcardTypeBuilder.h | 29 ETSWildcardTypeBuilder &SetETSTypeReference(ir::ETSTypeReference *typeReference) in SetETSTypeReference() argument 31 typeReference_ = typeReference; in SetETSTypeReference()
|
/arkcompiler/ets_frontend/ets2panda/parser/ |
H A D | ETSparserExpressions.cpp | 585 ir::TypeNode *typeReference, in CreateClassDefinitionForNewExpression() 588 lexer::SourcePosition endLoc = typeReference->End(); in CreateClassDefinitionForNewExpression() 621 typeReference->Clone(Allocator(), nullptr), std::move(properties), modifiers, ir::ModifierFlags::NONE, in CreateClassDefinitionForNewExpression() 638 ir::TypeNode *typeReference = baseTypeReference; in ParseNewExpression() local 639 if (typeReference == nullptr) { in ParseNewExpression() 642 typeReference = ParseTypeReference(&options); in ParseNewExpression() 643 if (typeReference == nullptr) { in ParseNewExpression() 644 typeReference = ParseTypeAnnotation(&options); in ParseNewExpression() 658 auto *arrInstance = AllocNode<ir::ETSNewArrayInstanceExpression>(typeReference, dimension); in ParseNewExpression() 674 auto *multiArray = AllocNode<ir::ETSNewMultiDimArrayInstanceExpression>(typeReference, st in ParseNewExpression() 584 CreateClassDefinitionForNewExpression(ArenaVector<ir::Expression *> &arguments, ir::TypeNode *typeReference, ir::TypeNode *baseTypeReference) CreateClassDefinitionForNewExpression() argument [all...] |
H A D | ETSparserTypes.cpp | 173 auto *typeReference = [this, &varianceModifier, options]() -> ir::ETSTypeReference * { in ParseWildcardType() local 183 auto *wildcardType = AllocNode<ir::ETSWildcardType>(typeReference, varianceModifier); in ParseWildcardType() 184 wildcardType->SetRange({varianceStartLoc, typeReference == nullptr ? varianceEndLoc : typeReference->End()}); in ParseWildcardType()
|
H A D | expressionTSParser.cpp | 360 auto *typeReference = AllocNode<ir::TSTypeReference>(identRef, nullptr); in ParseConstExpression() local 361 typeReference->SetRange(Lexer()->GetToken().Loc()); in ParseConstExpression() 373 return typeReference; in ParseConstExpression()
|
H A D | TypedParser.cpp | 398 auto *typeReference = AllocNode<ir::TSTypeReference>(expr, typeParamInst); in ParseInterfaceExtendsElement() local 399 typeReference->SetRange({heritageStart, heritageEnd}); in ParseInterfaceExtendsElement() 400 return typeReference; in ParseInterfaceExtendsElement() 410 auto *typeReference = ParseInterfaceExtendsElement(); in ParseInterfaceExtendsClause() local 411 auto *heritage = AllocNode<ir::TSInterfaceHeritage>(typeReference); in ParseInterfaceExtendsClause() 412 heritage->SetRange(typeReference->Range()); in ParseInterfaceExtendsClause()
|
H A D | ETSparser.cpp | 903 auto *typeReference = AllocNode<ir::ETSTypeReference>(typeRefPart); in ParseTypeReference() local 904 typeReference->SetRange({startPos, Lexer()->GetToken().End()}); in ParseTypeReference() 905 return typeReference; in ParseTypeReference()
|
H A D | ETSparser.h | 392 ir::TypeNode *typeReference,
|
/arkcompiler/ets_frontend/es2panda/ir/base/ |
H A D | classDefinition.h | 267 void AddFieldTypeForTypeReference(const TSTypeReference *typeReference, FieldType &fieldType,
|
H A D | classDefinition.cpp | 560 void ClassDefinition::AddFieldTypeForTypeReference(const TSTypeReference *typeReference, FieldType &fieldType, in AddFieldTypeForTypeReference() argument 563 auto typeName = typeReference->TypeName(); in AddFieldTypeForTypeReference()
|
/arkcompiler/ets_frontend/es2panda/parser/ |
H A D | statementParser.cpp | 886 auto *typeReference = AllocNode<ir::TSTypeReference>(expr, typeParamInst); in ParseTsInterfaceExtends() local 887 typeReference->SetRange({heritageStart, heritageEnd}); in ParseTsInterfaceExtends() 888 auto *heritage = AllocNode<ir::TSInterfaceHeritage>(typeReference); in ParseTsInterfaceExtends() 889 heritage->SetRange(typeReference->Range()); in ParseTsInterfaceExtends()
|
H A D | parserImpl.cpp | 341 auto *typeReference = AllocNode<ir::TSTypeReference>(identRef, nullptr); in ParseTsConstExpression() local 342 typeReference->SetRange(lexer_->GetToken().Loc()); in ParseTsConstExpression() 346 return typeReference; in ParseTsConstExpression()
|