Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(613)

Unified Diff: pkg/dartino_compiler/lib/src/hub/sentence_parser.dart

Issue 1987673002: Initial Implementation of the vm-service protocol (Closed) Base URL: git@github.com:dartino/sdk.git@master
Patch Set: Keep track of terminated state Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/dartino_compiler/lib/src/hub/sentence_parser.dart
diff --git a/pkg/dartino_compiler/lib/src/hub/sentence_parser.dart b/pkg/dartino_compiler/lib/src/hub/sentence_parser.dart
index b8fc32d0fab4fdd56cdd7ef8d1108089aea7ba8e..e0d8fc47624e05ba0cff0f8d9eaf72049f273312 100644
--- a/pkg/dartino_compiler/lib/src/hub/sentence_parser.dart
+++ b/pkg/dartino_compiler/lib/src/hub/sentence_parser.dart
@@ -261,6 +261,9 @@ class SentenceParser {
case "analytics":
return makeTarget(TargetKind.ANALYTICS);
+ case "serve":
+ return makeNamedTarget(TargetKind.SERVE);
+
default:
return new ErrorTarget(DiagnosticKind.expectedTargetButGot, word);
}
@@ -423,6 +426,7 @@ enum TargetKind {
SESSION,
SESSIONS,
SETTINGS,
+ SERVE,
STEP,
STEP_BYTECODE,
STEP_OVER,
« no previous file with comments | « pkg/dartino_compiler/lib/src/debug_service_protocol.dart ('k') | pkg/dartino_compiler/lib/src/verbs/debug_verb.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698