Home
last modified time | relevance | path

Searched refs:typeReference (Results 1 - 19 of 19) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
H A DstructLowering.cpp52 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 DdefaultParameterLowering.cpp126 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 DetsWildcardType.h25 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 DetsNewArrayInstanceExpression.h40 explicit ETSNewArrayInstanceExpression(ir::TypeNode *const typeReference, ir::Expression *const dimension) in ETSNewArrayInstanceExpression() argument
42 typeReference_(typeReference), in ETSNewArrayInstanceExpression()
H A DetsNewClassInstanceExpression.h43 explicit ETSNewClassInstanceExpression(ir::Expression *const typeReference, in ETSNewClassInstanceExpression() argument
47 typeReference_(typeReference), in ETSNewClassInstanceExpression()
H A DetsNewMultiDimArrayInstanceExpression.h40 explicit ETSNewMultiDimArrayInstanceExpression(ir::TypeNode *const typeReference, in ETSNewMultiDimArrayInstanceExpression() argument
43 typeReference_(typeReference), in ETSNewMultiDimArrayInstanceExpression()
/arkcompiler/ets_frontend/ets2panda/util/ast-builders/
H A DetsNewMultiDivArrayInstanceExpressionBuilder.h32 ETSNewMultiDivArrayInstanceExpressionBuilder &SetTypeReference(TypeNode *typeReference) in SetTypeReference() argument
34 typeReference_ = typeReference; in SetTypeReference()
H A DetsNewArrayInstanceExpressionBuilder.h29 ETSNewArrayInstanceExpressionBuilder &SetTypeReference(TypeNode *typeReference) in SetTypeReference() argument
31 typeReference_ = typeReference; in SetTypeReference()
H A DetsWildcardTypeBuilder.h29 ETSWildcardTypeBuilder &SetETSTypeReference(ir::ETSTypeReference *typeReference) in SetETSTypeReference() argument
31 typeReference_ = typeReference; in SetETSTypeReference()
/arkcompiler/ets_frontend/ets2panda/parser/
H A DETSparserExpressions.cpp585 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 DETSparserTypes.cpp173 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 DexpressionTSParser.cpp360 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 DTypedParser.cpp398 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 DETSparser.cpp903 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 DETSparser.h392 ir::TypeNode *typeReference,
/arkcompiler/ets_frontend/es2panda/ir/base/
H A DclassDefinition.h267 void AddFieldTypeForTypeReference(const TSTypeReference *typeReference, FieldType &fieldType,
H A DclassDefinition.cpp560 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 DstatementParser.cpp886 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 DparserImpl.cpp341 auto *typeReference = AllocNode<ir::TSTypeReference>(identRef, nullptr); in ParseTsConstExpression() local
342 typeReference->SetRange(lexer_->GetToken().Loc()); in ParseTsConstExpression()
346 return typeReference; in ParseTsConstExpression()

Completed in 29 milliseconds