mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
add an AST node to represent explicit closures. Not yet created.
Swift SVN r1154
This commit is contained in:
@@ -590,6 +590,11 @@ public:
|
||||
printRec(E->getBody());
|
||||
OS << ')';
|
||||
}
|
||||
void visitExplicitClosureExpr(ExplicitClosureExpr *E) {
|
||||
printCommon(E, "explicit_closure_expr") << '\n';
|
||||
printRec(E->getBody());
|
||||
OS << ')';
|
||||
}
|
||||
void visitImplicitClosureExpr(ImplicitClosureExpr *E) {
|
||||
printCommon(E, "implicit_closure_expr") << '\n';
|
||||
printRec(E->getBody());
|
||||
|
||||
Reference in New Issue
Block a user