rust/src/libsyntax/ext
Steven Fackler ab5bbd3c17 Simplify and rename macro API
Now that procedural macros can be implemented outside of the compiler,
it's more important to have a reasonable API to work with. Here are the
basic changes:

* Rename SyntaxExpanderTTTrait to MacroExpander, SyntaxExpanderTT to
    BasicMacroExpander, etc. I think "procedural macro" is the right
    term for these now, right? The other option would be SynExtExpander
    or something like that.

* Stop passing the SyntaxContext to extensions. This was only ever used
    by macro_rules, which doesn't even use it anymore. I can't think of
    a context in which an external extension would need it, and removal
    allows the API to be significantly simpler - no more
    SyntaxExpanderTTItemExpanderWithoutContext wrappers to worry about.
2014-01-25 13:55:39 -08:00
..
deriving [std::vec] Rename .pop_opt() to .pop(), drop the old .pop() behavior 2014-01-21 15:48:47 -08:00
tt Simplify and rename macro API 2014-01-25 13:55:39 -08:00
asm.rs syntax::ext: replace span_fatal with span_err in many places. 2014-01-18 02:03:04 +11:00
base.rs Simplify and rename macro API 2014-01-25 13:55:39 -08:00
build.rs [std::vec] Rename .pop_opt() to .pop(), drop the old .pop() behavior 2014-01-21 15:48:47 -08:00
bytes.rs syntax::ext: replace span_fatal with span_err in many places. 2014-01-18 02:03:04 +11:00
cfg.rs libsyntax: Renamed types, traits and enum variants to CamelCase. 2014-01-09 22:25:28 +02:00
concat.rs syntax::ext: replace span_fatal with span_err in many places. 2014-01-18 02:03:04 +11:00
concat_idents.rs syntax::ext: replace span_fatal with span_err in many places. 2014-01-18 02:03:04 +11:00
env.rs syntax::ext: replace span_fatal with span_err in many places. 2014-01-18 02:03:04 +11:00
expand.rs Simplify and rename macro API 2014-01-25 13:55:39 -08:00
fmt.rs libsyntax: Renamed types, traits and enum variants to CamelCase. 2014-01-09 22:25:28 +02:00
format.rs Add LowerExp 'e' and UpperExp 'E' format traits/specifiers 2014-01-22 20:32:40 -05:00
log_syntax.rs Remove re-exports of std::io::stdio::{print, println} in the prelude. 2014-01-11 10:46:00 +11:00
quote.rs Redo exported macro serialization 2014-01-23 09:01:36 -08:00
registrar.rs [std::vec] Rename .pop_opt() to .pop(), drop the old .pop() behavior 2014-01-21 15:48:47 -08:00
source_util.rs [std::str] Rename from_utf8_owned_opt() to from_utf8_owned(), drop the old from_utf8_owned() behavior 2014-01-21 15:48:48 -08:00
trace_macros.rs syntax::ext: replace span_fatal with span_err in many places. 2014-01-18 02:03:04 +11:00