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

Side by Side Diff: pkg/compiler/lib/src/kernel/unavailable.dart

Issue 2265383002: Copy Rasta visitor to dart2js. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: missed some renames Created 4 years, 4 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
OLDNEW
(Empty)
1 // Copyright (c) 2016, the Dart 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.md file.
4
5 import "../tree/tree.dart"
6 show
7 AsyncModifier,
8 ClassNode,
9 Combinator,
10 Export,
11 Expression,
12 GotoStatement,
13 Import,
14 LibraryDependency,
15 LibraryName,
16 LibraryTag,
17 Literal,
18 Loop,
19 MixinApplication,
20 Modifiers,
21 NamedMixinApplication,
22 Node,
23 NodeList,
24 Part,
25 PartOf,
26 Postfix,
27 Prefix,
28 Statement,
29 StringInterpolationPart,
30 StringNode,
31 Typedef;
32
33 abstract class UnavailableVisitor {
34 void visitNode(Node node) {
35 throw "No RAST available for Node";
36 }
37
38 void visitAsyncModifier(AsyncModifier node) {
39 throw "No RAST available for AsyncModifier";
40 }
41
42 void visitClassNode(ClassNode node) {
43 throw "No RAST available for ClassNode";
44 }
45
46 void visitCombinator(Combinator node) {
47 throw "No RAST available for Combinator";
48 }
49
50 void visitExport(Export node) {
51 throw "No RAST available for Export";
52 }
53
54 void visitExpression(Expression node) {
55 throw "No RAST available for Expression";
56 }
57
58 void visitGotoStatement(GotoStatement node) {
59 throw "No RAST available for GotoStatement";
60 }
61
62 void visitImport(Import node) {
63 throw "No RAST available for Import";
64 }
65
66 void visitLibraryDependency(LibraryDependency node) {
67 throw "No RAST available for LibraryDependency";
68 }
69
70 void visitLibraryName(LibraryName node) {
71 throw "No RAST available for LibraryName";
72 }
73
74 void visitLibraryTag(LibraryTag node) {
75 throw "No RAST available for LibraryTag";
76 }
77
78 void visitLiteral(Literal node) {
79 throw "No RAST available for Literal";
80 }
81
82 void visitLoop(Loop node) {
83 throw "No RAST available for Loop";
84 }
85
86 void visitMixinApplication(MixinApplication node) {
87 throw "No RAST available for MixinApplication";
88 }
89
90 void visitModifiers(Modifiers node) {
91 throw "No RAST available for Modifiers";
92 }
93
94 void visitNamedMixinApplication(NamedMixinApplication node) {
95 throw "No RAST available for NamedMixinApplication";
96 }
97
98 void visitNodeList(NodeList node) {
99 throw "No RAST available for NodeList";
100 }
101
102 void visitPart(Part node) {
103 throw "No RAST available for Part";
104 }
105
106 void visitPartOf(PartOf node) {
107 throw "No RAST available for PartOf";
108 }
109
110 void visitPostfix(Postfix node) {
111 throw "No RAST available for Postfix";
112 }
113
114 void visitPrefix(Prefix node) {
115 throw "No RAST available for Prefix";
116 }
117
118 void visitStatement(Statement node) {
119 throw "No RAST available for Statement";
120 }
121
122 void visitStringNode(StringNode node) {
123 throw "No RAST available for StringNode";
124 }
125
126 void visitStringInterpolationPart(StringInterpolationPart node) {
127 throw "No RAST available for StringInterpolationPart";
128 }
129
130 void visitTypedef(Typedef node) {
131 throw "No RAST available for Typedef";
132 }
133 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/kernel/kernel_visitor.dart ('k') | pkg/compiler/lib/src/kernel/unresolved.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698