]> gcc.gnu.org Git - gcc.git/commit
gccrs: Add Rust AST visitors
authorJoel Phillips <simplytheother@gmail.com>
Fri, 21 Oct 2022 11:35:58 +0000 (13:35 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 13 Dec 2022 13:00:04 +0000 (14:00 +0100)
commit5b981e9c7411e68bdd73365dbd94ed3844bce2c8
treeebb356f13a21d844351b84c5e3c892ad52561a3e
parentd588754c8266d74c9eef1e38d2d96e66ff876107
gccrs: Add Rust AST visitors

This patch contains the basic framework of our AST visitors, as well as
one aimed at pretty-printing and exporting these AST nodes.

gcc/rust/
* ast/rust-ast-dump.cc: New.
* ast/rust-ast-dump.h: New.
* ast/rust-ast-visitor.h: New.
* ast/rust-cond-compilation.h: New.

Co-authored-by: Philip Herron <philip.herron@embecosm.com>
Co-authored-by: Arthur Cohen <arthur.cohen@embecosm.com>
Signed-off-by: Joel Phillips <simplytheother@gmail.com>
gcc/rust/ast/rust-ast-dump.cc [new file with mode: 0644]
gcc/rust/ast/rust-ast-dump.h [new file with mode: 0644]
gcc/rust/ast/rust-ast-visitor.h [new file with mode: 0644]
gcc/rust/ast/rust-cond-compilation.h [new file with mode: 0644]
This page took 0.060654 seconds and 6 git commands to generate.