diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2023-03-22 13:20:31 +0100 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-01-16 18:28:40 +0100 |
commit | e53b368887d41fabea672f530f98da4691fee7d5 (patch) | |
tree | 2416ea06fa69824df995b969e8f77f8682a38111 /gcc/rust/ast/rust-ast-dump.h | |
parent | 0bda940f99131a73a008506175759608fb801772 (diff) | |
download | gcc-e53b368887d41fabea672f530f98da4691fee7d5.zip gcc-e53b368887d41fabea672f530f98da4691fee7d5.tar.gz gcc-e53b368887d41fabea672f530f98da4691fee7d5.tar.bz2 |
gccrs: ast: Refactor and add some Path node visitors
Implement some functions for Path nodes and refactor existing ones by
merging some common code.
gcc/rust/ChangeLog:
* ast/rust-ast-tokenstream.cc (TokenStream::visit): Implement
visitors.
* ast/rust-ast-tokenstream.h: Add function prototypes.
* ast/rust-ast.h: Add missing getters.
* ast/rust-expr.h: Likewise.
Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/ast/rust-ast-dump.h')
0 files changed, 0 insertions, 0 deletions