Home
last modified time | relevance | path

Searched refs:isAwait (Results 1 - 7 of 7) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/util/ast-builders/
H A DforOfStatementBuilder.h47 ForOfStatementBuilder &SetIsAwait(bool isAwait) in SetIsAwait() argument
49 isAwait_ = isAwait; in SetIsAwait()
/arkcompiler/ets_frontend/es2panda/ir/statements/
H A DforOfStatement.h40 explicit ForOfStatement(binder::LoopScope *scope, AstNode *left, Expression *right, Statement *body, bool isAwait) in ForOfStatement() argument
45 isAwait_(isAwait) in ForOfStatement()
/arkcompiler/ets_frontend/ets2panda/ir/statements/
H A DforOfStatement.h50 explicit ForOfStatement(AstNode *left, Expression *right, Statement *body, bool const isAwait) in ForOfStatement() argument
51 : LoopStatement(AstNodeType::FOR_OF_STATEMENT), left_(left), right_(right), body_(body), isAwait_(isAwait) in ForOfStatement()
/arkcompiler/ets_frontend/ets2panda/parser/
H A DstatementParser.cpp682 ir::AstNode *initNode, ExpressionParseFlags exprFlags, bool isAwait) in ParseForInOf()
709 if (isAwait) { in ParseForInOf()
774 ir::Expression *leftNode, ExpressionParseFlags exprFlags, bool isAwait) in ParseForInOf()
782 if (isAwait) { in ParseForInOf()
826 std::tuple<ir::Expression *, ir::Expression *> ParserImpl::ParseForUpdate(bool isAwait) in ParseForUpdate() argument
828 if (isAwait) { in ParseForUpdate()
919 bool isAwait = lexer_->GetToken().Type() == lexer::TokenType::KEYW_AWAIT; in ParseForStatement() local
936 std::tie(rightNode, updateNode) = ParseForUpdate(isAwait); in ParseForStatement()
943 ParseForInOf(leftNode, ExpressionParseFlags::NO_OPTS, isAwait); in ParseForStatement()
946 std::tie(forKind, rightNode, updateNode) = ParseForInOf(initNode, ExpressionParseFlags::NO_OPTS, isAwait); in ParseForStatement()
681 ParseForInOf( ir::AstNode *initNode, ExpressionParseFlags exprFlags, bool isAwait) ParseForInOf() argument
773 ParseForInOf( ir::Expression *leftNode, ExpressionParseFlags exprFlags, bool isAwait) ParseForInOf() argument
[all...]
H A DparserImpl.h149 ir::Expression *leftNode, ExpressionParseFlags exprFlags, bool isAwait);
152 bool isAwait);
153 std::tuple<ir::Expression *, ir::Expression *> ParseForUpdate(bool isAwait);
/arkcompiler/ets_frontend/es2panda/parser/
H A DstatementParser.cpp1338 ir::AstNode *initNode, ExpressionParseFlags exprFlags, bool isAwait) in ParseForInOf()
1365 if (isAwait) { in ParseForInOf()
1390 ir::Expression *leftNode, ExpressionParseFlags exprFlags, bool isAwait) in ParseForInOf()
1410 if (isAwait || !(forKind == ForStatementKind::OF && leftNode->AsIdentifier()->Name().Is(ASYNC) && in ParseForInOf()
1443 if (isAwait) { in ParseForInOf()
1494 std::tuple<ir::Expression *, ir::Expression *> ParserImpl::ParseForUpdate(bool isAwait) in ParseForUpdate() argument
1496 if (isAwait) { in ParseForUpdate()
1529 bool isAwait = false; in ParseForStatement() local
1535 isAwait = true; in ParseForStatement()
1562 if (isAwait) { in ParseForStatement()
1337 ParseForInOf( ir::AstNode *initNode, ExpressionParseFlags exprFlags, bool isAwait) ParseForInOf() argument
1389 ParseForInOf( ir::Expression *leftNode, ExpressionParseFlags exprFlags, bool isAwait) ParseForInOf() argument
[all...]
H A DparserImpl.h557 ir::Expression *leftNode, ExpressionParseFlags exprFlags, bool isAwait);
560 bool isAwait);
561 std::tuple<ir::Expression *, ir::Expression *> ParseForUpdate(bool isAwait);

Completed in 9 milliseconds