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

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

Issue 11669015: Turn compile time errors related to missing getters and setters into invocation (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 12 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
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 400 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 const Function& function() const { return function_; } 411 const Function& function() const { return function_; }
412 AstNode* receiver() const { return receiver_; } 412 AstNode* receiver() const { return receiver_; }
413 LocalScope* scope() const { return scope_; } 413 LocalScope* scope() const { return scope_; }
414 414
415 virtual void VisitChildren(AstNodeVisitor* visitor) const { 415 virtual void VisitChildren(AstNodeVisitor* visitor) const {
416 if (receiver() != NULL) { 416 if (receiver() != NULL) {
417 receiver()->Visit(visitor); 417 receiver()->Visit(visitor);
418 } 418 }
419 } 419 }
420 420
421 virtual AstNode* MakeAssignmentNode(AstNode* rhs);
422
421 virtual const Instance* EvalConstExpr() const; 423 virtual const Instance* EvalConstExpr() const;
422 424
423 DECLARE_COMMON_NODE_FUNCTIONS(ClosureNode); 425 DECLARE_COMMON_NODE_FUNCTIONS(ClosureNode);
424 426
425 private: 427 private:
426 const Function& function_; 428 const Function& function_;
427 AstNode* receiver_; 429 AstNode* receiver_;
428 LocalScope* scope_; 430 LocalScope* scope_;
429 431
430 DISALLOW_IMPLICIT_CONSTRUCTORS(ClosureNode); 432 DISALLOW_IMPLICIT_CONSTRUCTORS(ClosureNode);
(...skipping 1259 matching lines...) Expand 10 before | Expand all | Expand 10 after
1690 const LocalVariable& context_var_; 1692 const LocalVariable& context_var_;
1691 1693
1692 DISALLOW_IMPLICIT_CONSTRUCTORS(InlinedFinallyNode); 1694 DISALLOW_IMPLICIT_CONSTRUCTORS(InlinedFinallyNode);
1693 }; 1695 };
1694 1696
1695 } // namespace dart 1697 } // namespace dart
1696 1698
1697 #undef DECLARE_COMMON_NODE_FUNCTIONS 1699 #undef DECLARE_COMMON_NODE_FUNCTIONS
1698 1700
1699 #endif // VM_AST_H_ 1701 #endif // VM_AST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698