Module syntax::ext::tt::macro_rules [−][src]
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Re-exports
use ast; |
use attr; |
use syntax_pos::Span; |
use syntax_pos::DUMMY_SP; |
use edition::Edition; |
use ext::base::DummyResult; |
use ext::base::ExtCtxt; |
use ext::base::MacResult; |
use ext::base::SyntaxExtension; |
use ext::base::NormalTT; |
use ext::base::TTMacroExpander; |
use ext::expand::Expansion; |
use ext::expand::ExpansionKind; |
use ext::tt::macro_parser::Success; |
use ext::tt::macro_parser::Error; |
use ext::tt::macro_parser::Failure; |
use ext::tt::macro_parser::MatchedSeq; |
use ext::tt::macro_parser::MatchedNonterminal; |
use ext::tt::macro_parser::parse; |
use ext::tt::macro_parser::parse_failure_msg; |
use ext::tt::quoted; |
use ext::tt::transcribe::transcribe; |
use feature_gate; |
use feature_gate::emit_feature_err; |
use feature_gate::Features; |
use feature_gate::GateIssue; |
use parse::Directory; |
use parse::ParseSess; |
use parse::parser::Parser; |
use parse::token; |
use parse::token::NtTT; |
use parse::token::Token::*; |
use symbol::Symbol; |
use tokenstream::TokenStream; |
use tokenstream::TokenTree; |
use std::borrow::Cow; |
use std::collections::HashMap; |
use std::collections::hash_map::Entry; |
use rustc_data_structures::sync::Lrc; |
Structs
FirstSets |
[ Experimental ]
|
MacroRulesMacroExpander |
[ Experimental ]
|
ParserAnyMacro |
[ Experimental ]
|
TokenSet |
[ Experimental ]
|
Functions
check_lhs_no_empty_seq |
[ Experimental ] Check that the lhs contains no repetition which could match an empty token tree, because then the matcher would hang indefinitely. |
check_lhs_nt_follows |
[ Experimental ]
|
check_matcher |
[ Experimental ]
|
check_matcher_core |
[ Experimental ]
|
check_rhs |
[ Experimental ]
|
compile |
[ Experimental ] Converts a |
frag_can_be_followed_by_any |
[ Experimental ] True if a fragment of type |
generic_extension |
[ Experimental ] Given |
has_legal_fragment_specifier |
[ Experimental ]
|
is_in_follow |
[ Experimental ] True if |
is_legal_fragment_specifier |
[ Experimental ]
|
quoted_tt_to_string |
[ Experimental ]
|
token_can_be_followed_by_any |
[ Experimental ]
|
trace_macros_note |
[ Experimental ]
|