File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed
branches/snap-stage3/src/libsyntax/ext Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: 124eb2119c78651cfaaa7a046a101fa2e20f83ca
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: dc7f3df27fd17b41b3448f461138947db4c9bab2
4
+ refs/heads/snap-stage3: 1a065841172a0824046b1f041bdb1134ba820db8
5
5
refs/heads/try: ac820906c0e53eab79a98ee64f7231f57c3887b4
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
Original file line number Diff line number Diff line change @@ -1410,6 +1410,17 @@ pub fn expand_crate(parse_sess: @mut parse::ParseSess,
1410
1410
return ret;
1411
1411
}
1412
1412
1413
+ // HYGIENIC CONTEXT EXTENSION:
1414
+ // all of these functions are for walking over
1415
+ // ASTs and making some change to the context of every
1416
+ // element that has one. a CtxtFn is a trait-ified
1417
+ // version of a closure in (SyntaxContext -> SyntaxContext).
1418
+ // the ones defined here include:
1419
+ // Renamer - add a rename to a context
1420
+ // MultiRenamer - add a set of renames to a context
1421
+ // Marker - add a mark to a context
1422
+ // Repainter - replace a context (maybe Replacer would be a better name?)
1423
+
1413
1424
// a function in SyntaxContext -> SyntaxContext
1414
1425
pub trait CtxtFn {
1415
1426
fn f ( & self , ast:: SyntaxContext ) -> ast:: SyntaxContext ;
You can’t perform that action at this time.
0 commit comments