rust/src/libsyntax/parse
bors 7a6208f2cc auto merge of #15646 : jbclements/rust/method-macros, r=cmr
This patch adds support for macros in method position. It follows roughly the template for Item macros, where an outer `Method` wrapper contains a `Method_` enum which can either be a macro invocation or a standard macro definition. 

One note; adding support for macros that expand into multiple methods is not included here, but should be a simple parser change, since this patch updates the type of fold_macro to return a smallvector of methods.

For reviewers, please pay special attention to the parser changes; these are the ones I'm most concerned about.

Because of the small change to the interface of fold_method, this is a ...

[breaking change]
2014-07-13 19:16:28 +00:00
..
lexer Add scaffolding for assigning alpha-numeric codes to rustc diagnostics 2014-07-11 00:32:00 +02:00
attr.rs Fix spans for attributes 2014-07-11 15:26:26 -07:00
classify.rs syntax: doc comments all the things 2014-07-09 00:06:27 -07:00
common.rs syntax: doc comments all the things 2014-07-09 00:06:27 -07:00
mod.rs Add scaffolding for assigning alpha-numeric codes to rustc diagnostics 2014-07-11 00:32:00 +02:00
obsolete.rs syntax: doc comments all the things 2014-07-09 00:06:27 -07:00
parser.rs macro in method position parsing 2014-07-13 10:10:38 -07:00
token.rs Fix all the test fallout 2014-07-09 00:49:54 -07:00