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

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

Issue 535303002: Fix build break (forgot this file in the previous CL). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 3 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 | « no previous file | no next file » | 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_PARSER_H_ 5 #ifndef VM_PARSER_H_
6 #define VM_PARSER_H_ 6 #define VM_PARSER_H_
7 7
8 #include "include/dart_api.h" 8 #include "include/dart_api.h"
9 9
10 #include "platform/assert.h" 10 #include "platform/assert.h"
(...skipping 649 matching lines...) Expand 10 before | Expand all | Expand 10 after
660 AstNode* GenerateStaticFieldLookup(const Field& field, 660 AstNode* GenerateStaticFieldLookup(const Field& field,
661 intptr_t ident_pos); 661 intptr_t ident_pos);
662 AstNode* ParseStaticFieldAccess(const Class& cls, 662 AstNode* ParseStaticFieldAccess(const Class& cls,
663 const String& field_name, 663 const String& field_name,
664 intptr_t ident_pos, 664 intptr_t ident_pos,
665 bool consume_cascades); 665 bool consume_cascades);
666 666
667 LocalVariable* LookupLocalScope(const String& ident); 667 LocalVariable* LookupLocalScope(const String& ident);
668 void CheckInstanceFieldAccess(intptr_t field_pos, const String& field_name); 668 void CheckInstanceFieldAccess(intptr_t field_pos, const String& field_name);
669 bool ParsingStaticMember() const; 669 bool ParsingStaticMember() const;
670 static const AbstractType* ReceiverType(const Class& cls); 670 const AbstractType* ReceiverType(const Class& cls);
671 bool IsInstantiatorRequired() const; 671 bool IsInstantiatorRequired() const;
672 bool ResolveIdentInLocalScope(intptr_t ident_pos, 672 bool ResolveIdentInLocalScope(intptr_t ident_pos,
673 const String &ident, 673 const String &ident,
674 AstNode** node); 674 AstNode** node);
675 static const bool kResolveLocally = true; 675 static const bool kResolveLocally = true;
676 static const bool kResolveIncludingImports = false; 676 static const bool kResolveIncludingImports = false;
677 677
678 // Resolve a primary identifier in the library or prefix scope and 678 // Resolve a primary identifier in the library or prefix scope and
679 // generate the corresponding AstNode. 679 // generate the corresponding AstNode.
680 AstNode* ResolveIdentInCurrentLibraryScope(intptr_t ident_pos, 680 AstNode* ResolveIdentInCurrentLibraryScope(intptr_t ident_pos,
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
810 bool unregister_pending_function_; 810 bool unregister_pending_function_;
811 811
812 LocalScope* async_temp_scope_; 812 LocalScope* async_temp_scope_;
813 813
814 DISALLOW_COPY_AND_ASSIGN(Parser); 814 DISALLOW_COPY_AND_ASSIGN(Parser);
815 }; 815 };
816 816
817 } // namespace dart 817 } // namespace dart
818 818
819 #endif // VM_PARSER_H_ 819 #endif // VM_PARSER_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698