rust/src/libsyntax
John Clements 53642eed80 make walk/visit_mac opt-in only
macros can expand into arbitrary items, exprs, etc. This
means that using a default walker or folder on an AST before
macro expansion is complete will miss things (the things that
the macros expand into). As a partial fence against this, this
commit moves the default traversal of macros into a separate
procedure, and makes the default trait implementation signal
an error. This means that Folders and Visitors can traverse
macros if they want to, but they need to explicitly add an
impl that calls the walk_mac or fold_mac procedure

This should prevent problems down the road.
2014-07-11 10:32:41 -07:00
..
ext make walk/visit_mac opt-in only 2014-07-11 10:32:41 -07:00
parse use side table to store exported macros 2014-07-11 10:32:41 -07:00
print syntax: doc comments all the things 2014-07-09 00:06:27 -07:00
util Fix all the test fallout 2014-07-09 00:49:54 -07:00
abi.rs syntax: doc comments all the things 2014-07-09 00:06:27 -07:00
ast_map.rs make walk/visit_mac opt-in only 2014-07-11 10:32:41 -07:00
ast_util.rs Fix all the test fallout 2014-07-09 00:49:54 -07:00
ast.rs use side table to store exported macros 2014-07-11 10:32:41 -07:00
attr.rs syntax: doc comments all the things 2014-07-09 00:06:27 -07:00
codemap.rs syntax: don't parse numeric literals in the lexer 2014-07-09 00:06:29 -07:00
crateid.rs Remove unnecessary to_string calls 2014-06-26 08:56:49 +02:00
diagnostic.rs syntax: doc comments all the things 2014-07-09 00:06:27 -07:00
fold.rs make walk/visit_mac opt-in only 2014-07-11 10:32:41 -07:00
lib.rs syntax: doc comments all the things 2014-07-09 00:06:27 -07:00
owned_slice.rs Rename all raw pointers as necessary 2014-06-28 11:53:58 -07:00
visit.rs make walk/visit_mac opt-in only 2014-07-11 10:32:41 -07:00