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

Side by Side Diff: pkg/servicec/lib/keyword.dart

Issue 2035023003: Remove service-compiler related code. (Closed) Base URL: git@github.com:dartino/sdk.git@master
Patch Set: 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 unified diff | Download patch
« no previous file with comments | « pkg/servicec/lib/errors.dart ('k') | pkg/servicec/lib/listener.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file.
4
5 library servicec.keyword;
6
7 import "package:compiler/src/tokens/keyword.dart" as dart2js;
8
9 /// Custom Keyword class for the servicec front-end.
10 class Keyword extends dart2js.Keyword {
11 static const Keyword service = const Keyword("service");
12 static const Keyword struct = const Keyword("struct");
13 static const Keyword union = const Keyword("union");
14
15 static Map<String, Keyword> keywords = {
16 "service": service,
17 "struct" : struct,
18 "union" : union
19 };
20
21 const Keyword(String syntax)
22 : super(syntax);
23 }
OLDNEW
« no previous file with comments | « pkg/servicec/lib/errors.dart ('k') | pkg/servicec/lib/listener.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698