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> | 2023-03-30 16:48:28 +0200 |
commit | c3a62ea7d7849efdee24808b5ebd4902af16d57e (patch) | |
tree | 1f1238374b0aa65f67c2ae6843358be6465bd78a /gcc/rust/resolve/rust-ast-resolve-item.cc | |
parent | a05f114acf901f35bca002fd02073d944fb7da80 (diff) | |
download | gcc-c3a62ea7d7849efdee24808b5ebd4902af16d57e.zip gcc-c3a62ea7d7849efdee24808b5ebd4902af16d57e.tar.gz gcc-c3a62ea7d7849efdee24808b5ebd4902af16d57e.tar.bz2 |
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/resolve/rust-ast-resolve-item.cc')
0 files changed, 0 insertions, 0 deletions