New GDScript tokenizer and parser
Sometimes to fix something you have to break it first. This get GDScript mostly working with the new tokenizer and parser but a lot of things isn't working yet. It compiles and it's usable, and that should be enough for now. Don't worry: other huge commits will come after this.
This commit is contained in:
parent
818bfbc5b5
commit
5d6e853806
29 changed files with 7906 additions and 16496 deletions
|
|
@ -38,6 +38,9 @@
|
|||
#include "gdscript_language_protocol.h"
|
||||
#include "servers/display_server.h"
|
||||
|
||||
// FIXME: Reenable LSP.
|
||||
#if 0
|
||||
|
||||
void GDScriptTextDocument::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("didOpen"), &GDScriptTextDocument::didOpen);
|
||||
ClassDB::bind_method(D_METHOD("didChange"), &GDScriptTextDocument::didChange);
|
||||
|
|
@ -437,3 +440,5 @@ Array GDScriptTextDocument::find_symbols(const lsp::TextDocumentPositionParams &
|
|||
}
|
||||
return arr;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue