swift
44d77692 - [Parser] Decouple the parser from AST creation (part 1)

Commit
6 years ago
[Parser] Decouple the parser from AST creation (part 1) Instead of creating the AST directly in the parser (and libSyntax or SwiftSyntax via SyntaxParsingContext), make Parser to explicitly create a tree of ParsedSyntaxNodes. Their OpaqueSyntaxNodes can be either libSyntax or SwiftSyntax. If AST is needed, it can be generated from the libSyntax tree.
Author
Jan Svoboda
Committer
Jan Svoboda
Parents
Loading