[Chapel Merge] compiler/next followups

Branch: refs/heads/master
Revision: 65e3562
Author: mppf
Log Message:

Merge pull request #17666 from mppf/compiler-next-followups

compiler/next followups

This PR addresses a few follow-ups I have noted from other PRS:

  • adds an explainer comment in query-impl.h about how the query system
    works at a high level
  • moves a few trivial constructors from .cpp to .h files to make these
    more straightforward/simpler to maintain as suggested in PR 17648.
  • adds testing of a few more variable declaration patterns that were
    already working

Reviewed by @dlongnecke-cray - thanks!

Modified Files:
M compiler/next/include/chpl/queries/query-impl.h

M compiler/next/include/chpl/uast/ASTNode.h
M compiler/next/include/chpl/uast/Builder.h
M compiler/next/include/chpl/uast/Comment.h
M compiler/next/include/chpl/uast/Local.h
M compiler/next/include/chpl/uast/OpCall.h
M compiler/next/include/chpl/uast/Serial.h
M compiler/next/lib/uast/ASTNode.cpp
M compiler/next/lib/uast/Builder.cpp
M compiler/next/lib/uast/Comment.cpp
M compiler/next/lib/uast/Local.cpp
M compiler/next/lib/uast/Serial.cpp
M compiler/next/test/frontend/testParse.cpp

Compare: https://github.com/chapel-lang/chapel/compare/bd1b75ea4e58...65e356211369