Refactor everything
Huge dump of refactored code. Still in the middle of the changes that are to be squashed later in a one huge monster commit, because there is no value in anything atomic here.
This commit is contained in:
parent
5bd9aadc55
commit
588790b9b4
72 changed files with 13654 additions and 3960 deletions
|
|
@ -37,7 +37,7 @@ impl tower_lsp::LanguageServer for RottLanguageServer {
|
|||
// Measure lexing performance to track parser responsiveness.
|
||||
let start_time = std::time::Instant::now();
|
||||
let has_errors =
|
||||
rottlib::lexer::TokenizedFile::from_str(¶ms.text_document.text).has_errors();
|
||||
rottlib::lexer::TokenizedFile::tokenize(¶ms.text_document.text).has_errors();
|
||||
let elapsed_time = start_time.elapsed();
|
||||
|
||||
self.client
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue