Commit 00a4953
committed
Initial refactoring to support doing grammar checks as a separate pass of the tree.
Right now, this means hiding 'syntacticDiagnostics' behind a getter function that
only computes all the syntactic diagnostics (parser+grammar checks) lazily.
This will help incremental parsing out as we can reuse nodes that have grammar
errors in them, and we dont' have to even do grammar checks if this is not the
full-type-check type-checker.1 parent a9cf216 commit 00a4953Copy full SHA for 00a4953
6 files changed
+96-57Lines changed: 96 additions & 57 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- src
- compiler
- services
Expand file treeCollapse file tree
Open diff view settings
Collapse file
+3-3Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
125 | 125 | |
126 | 126 | |
127 | 127 | |
128 | | - |
| 128 | + |
129 | 129 | |
130 | | - |
| 130 | + |
131 | 131 | |
132 | 132 | |
133 | 133 | |
| ||
148 | 148 | |
149 | 149 | |
150 | 150 | |
151 | | - |
| 151 | + |
152 | 152 | |
153 | 153 | |
154 | 154 | |
|
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
9143 | 9143 | |
9144 | 9144 | |
9145 | 9145 | |
9146 | | - |
| 9146 | + |
9147 | 9147 | |
9148 | 9148 | |
9149 | 9149 | |
|
0 commit comments