File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed
branches/try/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 2
2
refs/heads/master: 3e6de6b7da8ee88bf84b0e217900051334be08da
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 60fba4d7d677ec098e6a43014132fe99f7547363
5
- refs/heads/try: dcc0797a99ef21cddef6bbe847c79ddbcd96c355
5
+ refs/heads/try: ab2e83dd8753833ee572210c20876b0583f6d37e
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
8
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
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