Home
last modified time | relevance | path

Searched refs:isReadonly (Results 1 - 6 of 6) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/parser/
H A DASparser.h64 ir::TSIndexSignature *ParseIndexSignature(const lexer::SourcePosition &startLoc, bool isReadonly = false) override;
65 ir::AstNode *ParsePropertyOrMethodSignature(const lexer::SourcePosition &startLoc, bool isReadonly) override;
H A DTypedParser.h114 [[maybe_unused]] bool isReadonly = false) in ParseIndexSignature()
119 [[maybe_unused]] bool isReadonly) in ParsePropertyOrMethodSignature()
118 ParsePropertyOrMethodSignature([[maybe_unused]] const lexer::SourcePosition &startLoc, [[maybe_unused]] bool isReadonly) ParsePropertyOrMethodSignature() argument
H A DTSparser.h107 ir::TSIndexSignature *ParseIndexSignature(const lexer::SourcePosition &startLoc, bool isReadonly = false) override;
108 ir::AstNode *ParsePropertyOrMethodSignature(const lexer::SourcePosition &startLoc, bool isReadonly) override;
H A DASparser.cpp932 ir::TSIndexSignature *ASParser::ParseIndexSignature(const lexer::SourcePosition &startLoc, bool isReadonly) in ParseIndexSignature() argument
981 auto *indexSignature = AllocNode<ir::TSIndexSignature>(key, typeAnnotation, isReadonly); in ParseIndexSignature()
1022 ir::AstNode *ASParser::ParsePropertyOrMethodSignature(const lexer::SourcePosition &startLoc, bool isReadonly) in ParsePropertyOrMethodSignature() argument
1066 auto *propertySignature = AllocNode<ir::TSPropertySignature>(key, typeAnnotation, isComputed, false, isReadonly); in ParsePropertyOrMethodSignature()
1079 bool isReadonly = Lexer()->GetToken().KeywordType() == lexer::TokenType::KEYW_READONLY && in ParseTypeLiteralOrInterfaceMember() local
1081 if (isReadonly) { in ParseTypeLiteralOrInterfaceMember()
1086 return ParseIndexSignature(startLoc, isReadonly); in ParseTypeLiteralOrInterfaceMember()
1089 return ParsePropertyOrMethodSignature(startLoc, isReadonly); in ParseTypeLiteralOrInterfaceMember()
H A DTSparser.cpp1531 ir::TSIndexSignature *TSParser::ParseIndexSignature(const lexer::SourcePosition &startLoc, bool isReadonly) in ParseIndexSignature() argument
1570 auto *indexSignature = AllocNode<ir::TSIndexSignature>(key, typeAnnotation, isReadonly); in ParseIndexSignature()
1655 ir::AstNode *TSParser::ParsePropertyOrMethodSignature(const lexer::SourcePosition &startLoc, bool isReadonly) in ParsePropertyOrMethodSignature() argument
1658 varbinder::VariableFlags flags = isReadonly ? varbinder::VariableFlags::READONLY : varbinder::VariableFlags::NONE; in ParsePropertyOrMethodSignature()
1669 if (isReadonly) { in ParsePropertyOrMethodSignature()
1709 AllocNode<ir::TSPropertySignature>(key, typeAnnotation, isComputed, isOptional, isReadonly); in ParsePropertyOrMethodSignature()
1733 bool isReadonly = Lexer()->GetToken().KeywordType() == lexer::TokenType::KEYW_READONLY && in ParseTypeLiteralOrInterfaceMember() local
1736 if (isReadonly) { in ParseTypeLiteralOrInterfaceMember()
1742 return ParseIndexSignature(startLoc, isReadonly); in ParseTypeLiteralOrInterfaceMember()
1745 return ParsePropertyOrMethodSignature(startLoc, isReadonly); in ParseTypeLiteralOrInterfaceMember()
[all...]
/arkcompiler/ets_frontend/ets2panda/checker/ets/
H A Dhelpers.cpp730 const bool isReadonly = (flags & ir::ModifierFlags::READONLY) != 0; in CheckVariableDeclaration() local
734 const bool omitInitConstness = isConst || (isReadonly && isStatic); in CheckVariableDeclaration()

Completed in 11 milliseconds