diff options
Diffstat (limited to 'gcc/rust/ast/rust-path.h')
| -rw-r--r-- | gcc/rust/ast/rust-path.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/rust/ast/rust-path.h b/gcc/rust/ast/rust-path.h index 232f11c..6e2b020 100644 --- a/gcc/rust/ast/rust-path.h +++ b/gcc/rust/ast/rust-path.h @@ -191,6 +191,8 @@ public: Kind get_kind () const { return kind; } + std::unique_ptr<AST::Expr> &get_expression () { return expression; } + std::string as_string () const { switch (get_kind ()) |
