Home
last modified time | relevance | path

Searched refs:doWhileStatement (Results 1 - 4 of 4) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/varbinder/
H A Dvarbinder.cpp40 #include "ir/statements/doWhileStatement.h"
590 auto *doWhileStatement = childNode->AsDoWhileStatement(); in ResolveReference() local
593 auto loopScopeCtx = LexicalScope<LoopScope>::Enter(this, doWhileStatement->Scope()); in ResolveReference()
594 ResolveReference(doWhileStatement->Body()); in ResolveReference()
597 ResolveReference(doWhileStatement->Test()); in ResolveReference()
/arkcompiler/ets_frontend/es2panda/binder/
H A Dbinder.cpp41 #include "ir/statements/doWhileStatement.h"
879 auto *doWhileStatement = childNode->AsDoWhileStatement(); in ResolveReference() local
882 auto loopScopeCtx = LexicalScope<LoopScope>::Enter(this, doWhileStatement->Scope()); in ResolveReference()
883 ResolveReference(doWhileStatement, doWhileStatement->Body()); in ResolveReference()
887 ResolveReference(doWhileStatement, doWhileStatement->Test()); in ResolveReference()
/arkcompiler/ets_frontend/ets2panda/parser/
H A DstatementParser.cpp44 #include "ir/statements/doWhileStatement.h"
566 auto *doWhileStatement = AllocNode<ir::DoWhileStatement>(body, test); in ParseDoWhileStatement() local
567 doWhileStatement->SetRange({startLoc, lexer_->GetToken().End()}); in ParseDoWhileStatement()
572 doWhileStatement->SetEnd(lexer_->GetToken().End()); in ParseDoWhileStatement()
576 return doWhileStatement; in ParseDoWhileStatement()
/arkcompiler/ets_frontend/es2panda/parser/
H A DstatementParser.cpp45 #include <ir/statements/doWhileStatement.h>
1161 auto *doWhileStatement = AllocNode<ir::DoWhileStatement>(iterCtx.LexicalScope().GetScope(), body, test); in ParseDoWhileStatement() local
1162 doWhileStatement->SetRange({startLoc, lexer_->GetToken().End()}); in ParseDoWhileStatement()
1163 iterCtx.LexicalScope().GetScope()->BindNode(doWhileStatement); in ParseDoWhileStatement()
1168 doWhileStatement->SetEnd(lexer_->GetToken().End()); in ParseDoWhileStatement()
1172 return doWhileStatement; in ParseDoWhileStatement()

Completed in 12 milliseconds