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

Side by Side Diff: runtime/vm/ast.h

Issue 11049038: Change compile-time errors into dynamic errors in instance creation expression (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « runtime/lib/error.dart ('k') | runtime/vm/ast.cc » ('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 #ifndef VM_AST_H_ 5 #ifndef VM_AST_H_
6 #define VM_AST_H_ 6 #define VM_AST_H_
7 7
8 #include "platform/assert.h" 8 #include "platform/assert.h"
9 #include "vm/allocation.h" 9 #include "vm/allocation.h"
10 #include "vm/growable_array.h" 10 #include "vm/growable_array.h"
(...skipping 1360 matching lines...) Expand 10 before | Expand all | Expand 10 after
1371 ASSERT(arguments_ != NULL); 1371 ASSERT(arguments_ != NULL);
1372 } 1372 }
1373 1373
1374 const Function& function() const { return function_; } 1374 const Function& function() const { return function_; }
1375 ArgumentListNode* arguments() const { return arguments_; } 1375 ArgumentListNode* arguments() const { return arguments_; }
1376 1376
1377 virtual void VisitChildren(AstNodeVisitor* visitor) const { 1377 virtual void VisitChildren(AstNodeVisitor* visitor) const {
1378 arguments()->Visit(visitor); 1378 arguments()->Visit(visitor);
1379 } 1379 }
1380 1380
1381 virtual AstNode* MakeAssignmentNode(AstNode* rhs);
1382
1381 DECLARE_COMMON_NODE_FUNCTIONS(StaticCallNode); 1383 DECLARE_COMMON_NODE_FUNCTIONS(StaticCallNode);
1382 1384
1383 private: 1385 private:
1384 const Function& function_; 1386 const Function& function_;
1385 ArgumentListNode* arguments_; 1387 ArgumentListNode* arguments_;
1386 1388
1387 DISALLOW_IMPLICIT_CONSTRUCTORS(StaticCallNode); 1389 DISALLOW_IMPLICIT_CONSTRUCTORS(StaticCallNode);
1388 }; 1390 };
1389 1391
1390 1392
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
1687 const LocalVariable& context_var_; 1689 const LocalVariable& context_var_;
1688 1690
1689 DISALLOW_IMPLICIT_CONSTRUCTORS(InlinedFinallyNode); 1691 DISALLOW_IMPLICIT_CONSTRUCTORS(InlinedFinallyNode);
1690 }; 1692 };
1691 1693
1692 } // namespace dart 1694 } // namespace dart
1693 1695
1694 #undef DECLARE_COMMON_NODE_FUNCTIONS 1696 #undef DECLARE_COMMON_NODE_FUNCTIONS
1695 1697
1696 #endif // VM_AST_H_ 1698 #endif // VM_AST_H_
OLDNEW
« no previous file with comments | « runtime/lib/error.dart ('k') | runtime/vm/ast.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698