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

Side by Side Diff: lib/compiler/implementation/js/nodes.dart

Issue 11262032: Add 'part of' in dart2js code. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « lib/compiler/implementation/enqueue.dart ('k') | lib/compiler/implementation/js/printer.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 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. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 part of js;
6
5 abstract class NodeVisitor<T> { 7 abstract class NodeVisitor<T> {
6 T visitProgram(Program node); 8 T visitProgram(Program node);
7 9
8 T visitBlock(Block node); 10 T visitBlock(Block node);
9 T visitExpressionStatement(ExpressionStatement node); 11 T visitExpressionStatement(ExpressionStatement node);
10 T visitEmptyStatement(EmptyStatement node); 12 T visitEmptyStatement(EmptyStatement node);
11 T visitIf(If node); 13 T visitIf(If node);
12 T visitFor(For node); 14 T visitFor(For node);
13 T visitForIn(ForIn node); 15 T visitForIn(ForIn node);
14 T visitWhile(While node); 16 T visitWhile(While node);
(...skipping 815 matching lines...) Expand 10 before | Expand all | Expand 10 after
830 /** Contains the pattern and the flags.*/ 832 /** Contains the pattern and the flags.*/
831 String pattern; 833 String pattern;
832 834
833 RegExpLiteral(this.pattern); 835 RegExpLiteral(this.pattern);
834 836
835 accept(NodeVisitor visitor) => visitor.visitRegExpLiteral(this); 837 accept(NodeVisitor visitor) => visitor.visitRegExpLiteral(this);
836 void visitChildren(NodeVisitor visitor) {} 838 void visitChildren(NodeVisitor visitor) {}
837 839
838 int get precedenceLevel => PRIMARY; 840 int get precedenceLevel => PRIMARY;
839 } 841 }
OLDNEW
« no previous file with comments | « lib/compiler/implementation/enqueue.dart ('k') | lib/compiler/implementation/js/printer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698