mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[incrParse] Support incremental parsing for edited files
This commit is contained in:
@@ -261,7 +261,9 @@ namespace swift {
|
||||
/// Whether collect tokens during parsing for syntax coloring.
|
||||
bool CollectParsedToken = false;
|
||||
|
||||
/// Whether to parse syntax tree.
|
||||
/// Whether to parse syntax tree. If the syntax tree is built, the generated
|
||||
/// AST may not be correct when syntax nodes are reused as part of
|
||||
/// incrementals parsing.
|
||||
bool BuildSyntaxTree = false;
|
||||
|
||||
/// Whether to verify the parsed syntax tree and emit related diagnostics.
|
||||
|
||||
Reference in New Issue
Block a user