Skip to content

Commit f8c1850

Browse files
committed
Add maintenance comment
1 parent 36a1769 commit f8c1850

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

server/src/analyser.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,8 @@ export default class Analyzer {
325325

326326
const tree = this.parser.parse(contents)
327327

328+
// TODO: would be nicer to save one map from uri to object containing all
329+
// these fields.
328330
this.uriToTextDocument[uri] = document
329331
this.uriToTreeSitterTrees[uri] = tree
330332
this.uriToDeclarations[uri] = {}
@@ -336,6 +338,7 @@ export default class Analyzer {
336338

337339
const problems: LSP.Diagnostic[] = []
338340

341+
// TODO: move this somewhere
339342
TreeSitterUtil.forEach(tree.rootNode, (n: Parser.SyntaxNode) => {
340343
if (n.type === 'ERROR') {
341344
problems.push(

0 commit comments

Comments
 (0)