Skip to content

Commit 29777c1

Browse files
committed
---
yaml --- r: 79369 b: refs/heads/try c: ab2e83d h: refs/heads/master i: 79367: ebda7dc v: v3
1 parent c911c7f commit 29777c1

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: 3e6de6b7da8ee88bf84b0e217900051334be08da
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 60fba4d7d677ec098e6a43014132fe99f7547363
5-
refs/heads/try: dcc0797a99ef21cddef6bbe847c79ddbcd96c355
5+
refs/heads/try: ab2e83dd8753833ee572210c20876b0583f6d37e
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/src/libsyntax/ext/expand.rs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1410,6 +1410,17 @@ pub fn expand_crate(parse_sess: @mut parse::ParseSess,
14101410
return ret;
14111411
}
14121412

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+
14131424
// a function in SyntaxContext -> SyntaxContext
14141425
pub trait CtxtFn{
14151426
fn f(&self, ast::SyntaxContext) -> ast::SyntaxContext;

0 commit comments

Comments
 (0)