Home
last modified time | relevance | path

Searched defs:typeAnnotation (Results 1 – 25 of 69) sorted by relevance

123

/arkcompiler/ets_frontend/es2panda/typescript/core/
DdestructuringContext.h35 const ir::Expression *typeAnnotation, const ir::Expression *initializer) in DestructuringContext()
91const ir::Expression *typeAnnotation, const ir::Expression *initializer) in ArrayDestructuringContext()
115const ir::Expression *typeAnnotation, const ir::Expression *initializer) in ObjectDestructuringContext()
/arkcompiler/ets_frontend/ets2panda/ir/base/
DclassProperty.h37 …licit ClassProperty(Expression *const key, Expression *const value, TypeNode *const typeAnnotation, in ClassProperty()
49 void SetTypeAnnotation(TypeNode *typeAnnotation) noexcept in SetTypeAnnotation()
DtsPropertySignature.cpp31 if (auto *const typeAnnotation = TypeAnnotation(); typeAnnotation != nullptr) { in TransformChildren() local
86 auto *const typeAnnotation = TypeAnnotation()->Clone(allocator, nullptr); in Clone() local
DtsIndexSignature.h36 …explicit TSIndexSignature(Expression *const param, TypeNode *const typeAnnotation, bool const read… in TSIndexSignature()
DtsPropertySignature.h32 …explicit TSPropertySignature(Expression *key, TypeNode *typeAnnotation, bool computed, bool option… in TSPropertySignature()
/arkcompiler/ets_frontend/ets2panda/parser/
DETSparserTypes.cpp101 auto *typeAnnotation = AllocNode<ir::ETSPrimitiveType>(type); in ParsePrimitiveType() local
128 ir::TypeNode *typeAnnotation = nullptr; in GetTypeAnnotationOfPrimitiveType() local
320 auto typeAnnotation = ParseFunctionType(); in ParsePotentialFunctionalType() local
336 ir::TypeNode *typeAnnotation = nullptr; in GetTypeAnnotationFromToken() local
375 ir::TypeNode *typeAnnotation = nullptr; in GetTypeAnnotationFromParentheses() local
DTSparser.cpp218 ir::TypeNode *typeAnnotation = ParseTypeAnnotation(&options); in ParseTypeAliasDeclaration() local
274 ir::TypeNode *typeAnnotation = nullptr; in ParseTypeAnnotation() local
801 ir::TypeNode *typeAnnotation = nullptr; in ParseMappedType() local
854 ir::TypeNode *typeAnnotation = nullptr; in ParseTypePredicate() local
878 ir::TypeNode *TSParser::ParseTypeLiteralOrMappedType(ir::TypeNode *typeAnnotation) in ParseTypeLiteralOrMappedType()
900 ir::TypeNode *TSParser::ParseTypeReferenceOrTypePredicate(ir::TypeNode *typeAnnotation, bool canBeT… in ParseTypeReferenceOrTypePredicate()
913 ir::TypeNode *TSParser::ParseThisTypeOrTypePredicate(ir::TypeNode *typeAnnotation, bool canBeTsType… in ParseThisTypeOrTypePredicate()
1131 ir::TypeNode *typeAnnotation = ParseBasicTypeHelper::GetTypeAnnotation(this, Lexer()); in ParseBasicType() local
1139 ir::TypeNode *TSParser::ParseParenthesizedOrFunctionType(ir::TypeNode *typeAnnotation, bool throwEr… in ParseParenthesizedOrFunctionType()
1257 …::TypeNode *ParseKeywordTokens(TSParser *parser, lexer::Lexer *lexer, ir::TypeNode *typeAnnotation, in ParseKeywordTokens()
[all …]
/arkcompiler/ets_frontend/ets2panda/ir/ts/
DtsTypeAssertion.h24 explicit TSTypeAssertion(TypeNode *typeAnnotation, Expression *expression) in TSTypeAssertion()
DtsAsExpression.cpp45 if (auto *typeAnnotation = TypeAnnotation(); typeAnnotation != nullptr) { in TransformChildren() local
94 auto *typeAnnotation = TypeAnnotation(); in Clone() local
DtsTypePredicate.h24 explicit TSTypePredicate(Expression *parameterName, TypeNode *typeAnnotation, bool asserts) in TSTypePredicate()
DtsAsExpression.h38 explicit TSAsExpression(Expression *expression, TypeNode *typeAnnotation, bool isConst) in TSAsExpression()
DtsMappedType.h25 …explicit TSMappedType(TSTypeParameter *typeParameter, TypeNode *typeAnnotation, MappedOption reado… in TSMappedType()
/arkcompiler/ets_frontend/es2panda/ir/ts/
DtsTypeAssertion.h34 explicit TSTypeAssertion(Expression *typeAnnotation, Expression *expression) in TSTypeAssertion()
DtsSatisfiesExpression.h35 explicit TSSatisfiesExpression(Expression *expression, Expression *typeAnnotation) in TSSatisfiesExpression()
DtsTypePredicate.h34 explicit TSTypePredicate(Expression *parameterName, Expression *typeAnnotation, bool asserts) in TSTypePredicate()
DtsPrivateIdentifier.h34 explicit TSPrivateIdentifier(Expression *key, Expression *value, Expression *typeAnnotation) in TSPrivateIdentifier()
DtsAsExpression.h35 explicit TSAsExpression(Expression *expression, Expression *typeAnnotation, bool isConst) in TSAsExpression()
DtsMappedType.h35 …t TSMappedType(TSTypeParameter *typeParameter, Expression *nameKeyType, Expression *typeAnnotation, in TSMappedType()
DtsTypeAliasDeclaration.h41 …liasDeclaration(Identifier *id, TSTypeParameterDeclaration *typeParams, Expression *typeAnnotation, in TSTypeAliasDeclaration()
DtsPropertySignature.h34 …explicit TSPropertySignature(Expression *key, Expression *typeAnnotation, bool computed, bool opti… in TSPropertySignature()
/arkcompiler/ets_frontend/es2panda/ir/expressions/
DprivateIdentifier.h40 explicit PrivateIdentifier(util::StringView name, Expression *typeAnnotation) in PrivateIdentifier()
DarrayExpression.h79 void SetTsTypeAnnotation(Expression *typeAnnotation) override in SetTsTypeAnnotation()
/arkcompiler/ets_frontend/es2panda/ir/
Dexpression.h50 virtual void SetTsTypeAnnotation([[maybe_unused]] Expression *typeAnnotation) in SetTsTypeAnnotation()
/arkcompiler/ets_frontend/ets2panda/ir/
Dtyped.h111 explicit AnnotatedAstNode(AstNodeType const type, TypeNode *const typeAnnotation) in AnnotatedAstNode()
149 …explicit AnnotatedStatement(AstNodeType type, TypeNode *typeAnnotation) : Annotated<Statement>(typ… in AnnotatedStatement()
/arkcompiler/ets_frontend/es2panda/ir/base/
DcatchClause.cpp62 const ir::Expression *typeAnnotation = nullptr; in Check() local

123