Branch: refs/heads/main
Revision: b49b509
Author: arezaii
Link: forwarding uast node first pass by arezaii · Pull Request #18712 · chapel-lang/chapel · GitHub
Log Message:
Merge pull request #18712 from arezaii/forwarding-ast
forwarding uast node first pass
This PR adds a ForwardingDecl
node to the uast.
Forwarding statements are described at
https://chapel-lang.org/docs/main/technotes/forwarding.html
TESTING:
- [x] added parser tests for new node type
- [x] compiled sample code from technote with
--compiler-library-parser
Reviewed by @mppf
Signed-off-by: arezaii ahmad.rezaii@hpe.com
Modified Files:
A compiler/next/include/chpl/uast/ForwardingDecl.h
A compiler/next/lib/uast/ForwardingDecl.cpp
A compiler/next/test/parsing/testParseForwardingDecl.cpp
M compiler/next/include/chpl/uast/ASTClassesList.h
M compiler/next/include/chpl/uast/Decl.h
M compiler/next/include/chpl/uast/EnumElement.h
M compiler/next/include/chpl/uast/Variable.h
M compiler/next/include/chpl/uast/VisibilityClause.h
M compiler/next/include/chpl/uast/all-uast.h
M compiler/next/lib/parsing/ParserContext.h
M compiler/next/lib/parsing/ParserContextImpl.h
M compiler/next/lib/parsing/bison-chpl-lib.cpp
M compiler/next/lib/parsing/bison-chpl-lib.h
M compiler/next/lib/parsing/chpl.ypp
M compiler/next/lib/parsing/flex-chpl-lib.cpp
M compiler/next/lib/parsing/flex-chpl-lib.h
M compiler/next/lib/uast/AggregateDecl.cpp
M compiler/next/lib/uast/CMakeLists.txt
M compiler/next/lib/uast/Makefile.include
M compiler/next/test/parsing/CMakeLists.txt
M compiler/next/test/parsing/testParseAttributes.cpp
M compiler/passes/convert-uast.cpp
Compare: https://github.com/chapel-lang/chapel/compare/ffb02f0b4d5c...b49b509dc929