File tree Expand file tree Collapse file tree 1 file changed +2
-11
lines changed
rascal-lsp/src/main/rascal/library/demo/lang/pico Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -38,17 +38,9 @@ import util::IDEServices;
3838import ParseTree ;
3939import util ::ParseErrorRecovery ;
4040import util ::Reflective ;
41- extend lang ::pico ::\syntax ::Main ;
41+ import lang ::pico ::\syntax ::Main ;
4242import DateTime ;
4343
44- syntax IdType
45- = func: Type returnType Id id "(" {IdType "," }* params ")" "=" Expression body ";"
46- ;
47-
48- syntax Expression
49- = call: Id id "(" {Expression "," }* args ")"
50- ;
51-
5244private Tree (str _input, loc _origin) picoParser (bool allowRecovery ) {
5345 return ParseTree ::parser (#start [Program ], allowRecovery =allowRecovery , filters =allowRecovery ? {createParseErrorFilter (false )} : {});
5446}
@@ -69,8 +61,7 @@ set[LanguageService] picoLanguageServer(bool allowRecovery) = {
6961 codeAction (picoCodeActionService ),
7062 rename (picoRenamingService , prepareRenameService = picoRenamePreparingService ),
7163 didRenameFiles (picoFileRenameService ),
72- selectionRange (picoSelectionRangeService ),
73- codeAction (picoCodeActionService )
64+ selectionRange (picoSelectionRangeService )
7465};
7566
7667set [LanguageService ] picoLanguageServer () = picoLanguageServer (false );
You can’t perform that action at this time.
0 commit comments