diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2023-03-27 12:54:53 +0200 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-01-16 18:28:42 +0100 |
commit | 1a20b5b1165f43ac9db6cfa62afe91031c2a717b (patch) | |
tree | 170c6e0d2d7c5814a64825a8fbcf2aeb1d7b1922 /gcc/rust/ast/rust-ast-dump.h | |
parent | 1bc67e50e3f77081e5593e7c5e77ed3a2a816755 (diff) | |
download | gcc-1a20b5b1165f43ac9db6cfa62afe91031c2a717b.zip gcc-1a20b5b1165f43ac9db6cfa62afe91031c2a717b.tar.gz gcc-1a20b5b1165f43ac9db6cfa62afe91031c2a717b.tar.bz2 |
gccrs: lex: Add source code token string representation
Add a new representation for tokens which should reflect the string
token as it could be found in the original source.
gcc/rust/ChangeLog:
* lex/rust-token.cc (Token::as_string): Add as_string
implementation.
* lex/rust-token.h: Add as_string prototype.
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