mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[ASTGen] Infrastructure to implment ASTGen Incrementally
* 'ASTGenVisitor' has a reference to a legacy C++ Parser configured for ASTGen. * If 'ASTGenVisitor' encounters a AST node that hasn't been migrated, call parse(Decl|Stmt|Expr|Type) to parse the position using the legacy parser. * The legacy parser calls ASTGen's 'swift_ASTGen_build(Decl|Stmt|Expr|Type)' for each ASTNode "parsing" (unless the call is not directly from the ASTGen.) rdar://117151886
This commit is contained in:
@@ -10,6 +10,12 @@ module ASTBridging {
|
||||
export *
|
||||
}
|
||||
|
||||
module ParseBridging {
|
||||
header "swift/Parse/ParseBridging.h"
|
||||
requires cplusplus
|
||||
export *
|
||||
}
|
||||
|
||||
module SILBridging {
|
||||
header "swift/SIL/SILBridging.h"
|
||||
requires cplusplus
|
||||
|
||||
Reference in New Issue
Block a user