aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects/frontend/src/xtext/XtextClient.ts
diff options
context:
space:
mode:
Diffstat (limited to 'subprojects/frontend/src/xtext/XtextClient.ts')
-rw-r--r--subprojects/frontend/src/xtext/XtextClient.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/subprojects/frontend/src/xtext/XtextClient.ts b/subprojects/frontend/src/xtext/XtextClient.ts
index abdf8518..d145cd30 100644
--- a/subprojects/frontend/src/xtext/XtextClient.ts
+++ b/subprojects/frontend/src/xtext/XtextClient.ts
@@ -38,7 +38,7 @@ export default class XtextClient {
38 private readonly occurrencesService: OccurrencesService; 38 private readonly occurrencesService: OccurrencesService;
39 39
40 constructor( 40 constructor(
41 store: EditorStore, 41 private readonly store: EditorStore,
42 private readonly pwaStore: PWAStore, 42 private readonly pwaStore: PWAStore,
43 ) { 43 ) {
44 this.webSocketClient = new XtextWebSocketClient( 44 this.webSocketClient = new XtextWebSocketClient(
@@ -114,6 +114,9 @@ export default class XtextClient {
114 case 'validate': 114 case 'validate':
115 this.validationService.onPush(push); 115 this.validationService.onPush(push);
116 return; 116 return;
117 case 'semantics':
118 this.store.setSemantics(push);
119 return;
117 default: 120 default:
118 throw new Error('Unknown service'); 121 throw new Error('Unknown service');
119 } 122 }