Home
last modified time | relevance | path

Searched refs:ParseTypeAnnotation (Results 1 – 13 of 13) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/parser/
DETSparserTypes.cpp89 return ParseTypeAnnotation(&options); in ParseFunctionReturnType()
116 types.push_back(ParseTypeAnnotation(&options)); in ParseUnionType()
194 return ParseTypeAnnotation(&options); in ParseFunctionType()
275 auto *const currentTypeAnnotation = ParseTypeAnnotation(options); in ParseETSTupleType()
327 ParseTypeAnnotation(options); in ParsePotentialFunctionalType()
385 typeAnnotation = ParseTypeAnnotation(options); in GetTypeAnnotationFromParentheses()
423 ir::TypeNode *ETSParser::ParseTypeAnnotation(TypeAnnotationParsingOptions *options) in ParseTypeAnnotation() function in ark::es2panda::parser::ETSParser
DexpressionTSParser.cpp128 ir::TypeNode *typeAnnotation = ParseTypeAnnotation(&options); in ParsePotentialAsExpression()
197 returnNode->SetTsTypeAnnotation(ParseTypeAnnotation(&options)); in ParsePatternElementGetReturnNode()
419 returnTypeAnnotation = parser->ParseTypeAnnotation(&options); in CreateCallExpression()
504 init->SetTsTypeAnnotation(ParseTypeAnnotation(&options)); in ParseVariableDeclaratorKey()
554 returnNode->SetTsTypeAnnotation(ParseTypeAnnotation(&options)); in ParseOptionalFunctionParameter()
594 returnTypeAnnotation = ParseTypeAnnotation(&options); in ParseArrowFunctionRestParameter()
612 returnTypeAnnotation = ParseTypeAnnotation(&options); in ParseArrowFunctionNoParameter()
658 ir::TypeNode *returnTypeAnnotation = ParseTypeAnnotation(&options); in ParseCoverParenthesizedExpressionAndArrowParameterList()
DTSparser.cpp218 ir::TypeNode *typeAnnotation = ParseTypeAnnotation(&options); in ParseTypeAliasDeclaration()
272 ir::TypeNode *TSParser::ParseTypeAnnotation(TypeAnnotationParsingOptions *options) in ParseTypeAnnotation() function in ark::es2panda::parser::TSParser
399 ir::TypeNode *param = ParseTypeAnnotation(&options); in ParseImportType()
468 auto *extendsType = ParseTypeAnnotation(&options); in ParseConditionalType()
479 auto *trueType = ParseTypeAnnotation(&options); in ParseConditionalType()
487 auto *falseType = ParseTypeAnnotation(&options); in ParseConditionalType()
506 ir::TypeNode *type = ParseTypeAnnotation(&options); in ParseTypeOperatorOrTypeReference()
525 ir::TypeNode *type = ParseTypeAnnotation(&options); in ParseTypeOperatorOrTypeReference()
587 auto *elementType = ParseTypeAnnotation(&options); in ParseTupleElement()
604 element = ParseTypeAnnotation(&options); in ParseTupleElement()
[all …]
DASparser.cpp148 ir::TypeNode *typeAnnotation = ParseTypeAnnotation(&options); in ParseTypeAliasDeclaration()
182 returnNode->SetTsTypeAnnotation(ParseTypeAnnotation(&options)); in ParseOptionalFunctionParameter()
369 returnNode->SetTsTypeAnnotation(ParseTypeAnnotation(&options)); in ParsePatternElementToken()
515 ir::TypeNode *returnTypeAnnotation = ParseTypeAnnotation(&options); in ParseFunctionType()
533 ir::TypeNode *type = ParseTypeAnnotation(&options); in ParseParenthesizedOrFunctionType()
742 ir::TypeNode *ASParser::ParseTypeAnnotation(TypeAnnotationParsingOptions *options) in ParseTypeAnnotation() function in ark::es2panda::parser::ASParser
841 ir::TypeNode *type = ParseTypeAnnotation(&options); in ParsePotentialAsExpression()
956 ir::TypeNode *keyType = ParseTypeAnnotation(&options); in ParseIndexSignature()
975 ir::TypeNode *typeAnnotation = ParseTypeAnnotation(&options); in ParseIndexSignature()
1049 ir::TypeNode *returnType = ParseTypeAnnotation(&options); in ParsePropertyOrMethodSignature()
[all …]
DTypedParser.cpp161 ir::TypeNode *typeAnnotation = ParseTypeAnnotation(&options); in ParseTypeAssertion()
225 returnTypeAnnotation = ParseTypeAnnotation(&options); in ParseGenericArrowFunction()
370 return ParseTypeAnnotation(&options); in ParseFunctionReturnType()
699 constraint = ParseTypeAnnotation(&newOptions); in ParseTypeParameter()
705 defaultType = ParseTypeAnnotation(&newOptions); in ParseTypeParameter()
1235 ir::TypeNode *currentParam = ParseTypeAnnotation(&tmpOptions); in ParseTypeParameterInstantiationImpl()
1383 returnNode->SetTsTypeAnnotation(ParseTypeAnnotation(&options)); in ParsePotentialOptionalFunctionParameter()
DETSparser.cpp555 ir::TypeNode *typeAnnotation = ParseTypeAnnotation(&options); in ParseTypeAliasDeclaration()
1262 ir::TypeNode *typeAnnotation = ParseTypeAnnotation(&options); in ParseFunctionParameter()
1318 typeAnnotation = ParseTypeAnnotation(&options); in ParseVariableDeclaratorKey()
1408 if (auto *typeAnnotation = ParseTypeAnnotation(&options); typeAnnotation != nullptr) { in ParseCatchParamTypeAnnotation()
1474 return ParseTypeAnnotation(&options); in ParseExpressionOrTypeAnnotation()
1609 constraint = ParseTypeAnnotation(&newOptions); in ParseTypeParameter()
1616 defaultType = ParseTypeAnnotation(options); in ParseTypeParameter()
DTypedParser.h131 … virtual ir::TypeNode *ParseTypeAnnotation([[maybe_unused]] TypeAnnotationParsingOptions *options) in ParseTypeAnnotation() function
DASparser.h48 ir::TypeNode *ParseTypeAnnotation(TypeAnnotationParsingOptions *options) override;
DTSparser.h89 ir::TypeNode *ParseTypeAnnotation(TypeAnnotationParsingOptions *options) override;
DETSparserExpressions.cpp281 ir::TypeNode *potentialType = ParseTypeAnnotation(&options); in ParseDefaultPrimaryExpression()
574 ir::TypeNode *type = ParseTypeAnnotation(&options); in ParsePotentialAsExpression()
DETSparserClasses.cpp403 typeAnnotation = ParseTypeAnnotation(&options); in ParseClassFieldDefinition()
816 typeAnnotation = ParseTypeAnnotation(&options); in ParseInterfaceField()
DETSFormattedParser.cpp549 return ParseTypeAnnotation(options); in CreateTypeAnnotation()
DETSparser.h319 ir::TypeNode *ParseTypeAnnotation(TypeAnnotationParsingOptions *options) override;