aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-02-17 16:40:01 +0100
committerPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-03-30 13:52:30 +0200
commite4cd0d726ed65e34cfcb8cd6a265095d89983520 (patch)
tree7c7b2e9d06bb2b455f4061da2ff7c2b6d378f8e4 /gcc
parenteedfefb49d1aa8750c52a4893149207cc6ba5dbc (diff)
downloadgcc-e4cd0d726ed65e34cfcb8cd6a265095d89983520.zip
gcc-e4cd0d726ed65e34cfcb8cd6a265095d89983520.tar.gz
gcc-e4cd0d726ed65e34cfcb8cd6a265095d89983520.tar.bz2
libproc_macro: Add TokenStream implementation
Add the TokenStream rust type implementation to libproc_macro. Also implement IntoIter structure to iterator over a TokenStream. ChangeLog: * librust/proc_macro/rust/bridge.rs: Add group and token_stream modules. * librust/proc_macro/rust/group.rs: Add group internal representation. * librust/proc_macro/rust/lib.rs: Add TokenStream implementation. * librust/proc_macro/rust/literal.rs: Make internal implementation visible in the whole crate. * librust/proc_macro/rust/token_stream.rs: Implement IntoIter. * librust/proc_macro/rust/bridge/group.rs: Add Group internals. * librust/proc_macro/rust/bridge/token_stream.rs: Add TokenStream internals. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions