[][src]Module proc_macro::__internal

🔬 This is a nightly-only experimental API. (proc_macro_internals #27812)

Permanently unstable internal implementation details of this crate. This should not be used.

These methods are used by the rest of the compiler to generate instances of TokenStream to hand to macro definitions, as well as consume the output.

Note that this module is also intentionally separate from the rest of the crate. This allows the #[unstable] directive below to naturally apply to all of the contents.

Structs

ProcMacroData [
Experimental
]
ProcMacroSess [
Experimental
]

Constants

CURRENT_SESS [
Experimental
]

Traits

Registry [
Experimental
]

Functions

in_sess [
Experimental
]
lookup_char_pos [
Experimental
]
new_token_stream [
Experimental
]
set_sess [
Experimental
]
token_stream_inner [
Experimental
]
token_stream_parse_items [
Experimental
]
token_stream_wrap [
Experimental
]
with_sess [
Experimental
]