[Chapel Merge] next: Parse While and DoWhile loops

Branch: refs/heads/master
Revision: 7e877bf
Author: dlongnecke-cray
Log Message:

Merge pull request #17804 from dlongnecke-cray/next-add-while

next: Parse While and DoWhile loops

This is for compiler/next.

Add nodes for While and DoWhile loops, and wire up the parser
actions for them.

Reviewed by @lydia-duncan and @mppf. Thanks!

TESTING:

  • [x] All compiler/next tests pass

Signed-off-by: David Longnecker dlongnecke-cray@users.noreply.github.com

Modified Files:
A compiler/next/include/chpl/uast/DoWhile.h

A compiler/next/include/chpl/uast/While.h
A compiler/next/lib/uast/DoWhile.cpp
A compiler/next/lib/uast/While.cpp
A compiler/next/test/frontend/testParseDoWhile.cpp
A compiler/next/test/frontend/testParseWhile.cpp
M compiler/next/include/chpl/uast/Builder.h
M compiler/next/lib/frontend/Parser/ParserContextImpl.h
M compiler/next/lib/frontend/Parser/chapel.ypp
M compiler/next/lib/frontend/Parser/parser-dependencies.h
M compiler/next/lib/uast/Builder.cpp
M compiler/next/lib/uast/CMakeLists.txt
M compiler/next/test/frontend/CMakeLists.txt

Compare: https://github.com/chapel-lang/chapel/compare/34cded4e9e04...7e877bf8f942