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

Side by Side Diff: pkg/servicec/lib/marker.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/listener.dart ('k') | pkg/servicec/lib/node.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 import 'node.dart' show
6 Node,
7 NodeVisitor;
8
9 import 'errors.dart' show
10 InternalCompilerError;
11
12 import 'package:compiler/src/tokens/token.dart' show
13 Token;
14
15 // Marker nodes.
16 abstract class MarkerNode extends Node {
17 Token token;
18
19 MarkerNode(this.token);
20
21 void accept(NodeVisitor visitor) {
22 throw new InternalCompilerError("MarkerNode visited");
23 }
24 }
25
26 class BeginFunctionMarker extends MarkerNode {
27 BeginFunctionMarker(Token token)
28 : super(token);
29 }
30
31 class BeginFieldMarker extends MarkerNode {
32 BeginFieldMarker(Token token)
33 : super(token);
34 }
35
36 class BeginFormalMarker extends MarkerNode {
37 BeginFormalMarker(Token token)
38 : super(token);
39 }
40
41 class BeginServiceMarker extends MarkerNode {
42 BeginServiceMarker(Token token)
43 : super(token);
44 }
45
46 class BeginStructMarker extends MarkerNode {
47 BeginStructMarker(Token token)
48 : super(token);
49 }
50
51 class BeginTypeMarker extends MarkerNode {
52 BeginTypeMarker(Token token)
53 : super(token);
54 }
55
56 class BeginUnionMarker extends MarkerNode {
57 BeginUnionMarker(Token token)
58 : super(token);
59 }
OLDNEW
« no previous file with comments | « pkg/servicec/lib/listener.dart ('k') | pkg/servicec/lib/node.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698