diff --git a/gcc/rust/ast/rust-ast.h b/gcc/rust/ast/rust-ast.h index 70277e76fcb..9f5242ae80d 100644 --- a/gcc/rust/ast/rust-ast.h +++ b/gcc/rust/ast/rust-ast.h @@ -901,6 +901,11 @@ public: return token_trees; } + const std::vector> &get_token_trees () const + { + return token_trees; + } + DelimType get_delim_type () const { return delim_type; } };