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

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

Issue 8602004: Fix code generation issue with new factory syntax. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 9 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
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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 "vm/ast.h" 10 #include "vm/ast.h"
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after
362 AstNode* ParseStaticFieldAccess(const Class& cls, 362 AstNode* ParseStaticFieldAccess(const Class& cls,
363 const String& field_name, 363 const String& field_name,
364 intptr_t ident_pos); 364 intptr_t ident_pos);
365 365
366 RawClass* LookupClass(const String& class_name); 366 RawClass* LookupClass(const String& class_name);
367 RawObject* LookupTypeClass(const QualIdent& type_name, 367 RawObject* LookupTypeClass(const QualIdent& type_name,
368 TypeResolution type_resolution); 368 TypeResolution type_resolution);
369 LocalVariable* LookupLocalScope(const String& ident); 369 LocalVariable* LookupLocalScope(const String& ident);
370 void CheckInstanceFieldAccess(intptr_t field_pos, const String& field_name); 370 void CheckInstanceFieldAccess(intptr_t field_pos, const String& field_name);
371 RawClass* TypeParametersScopeClass(); 371 RawClass* TypeParametersScopeClass();
372 bool IsInstantiatorRequired();
372 bool ResolveIdentInLocalScope(intptr_t ident_pos, 373 bool ResolveIdentInLocalScope(intptr_t ident_pos,
373 const String &ident, 374 const String &ident,
374 AstNode** node); 375 AstNode** node);
375 static const bool kResolveLocally = true; 376 static const bool kResolveLocally = true;
376 static const bool kResolveIncludingImports = false; 377 static const bool kResolveIncludingImports = false;
377 AstNode* ResolveIdentInLibraryScope(const Library& lib, 378 AstNode* ResolveIdentInLibraryScope(const Library& lib,
378 const QualIdent& qual_ident, 379 const QualIdent& qual_ident,
379 bool resolve_locally); 380 bool resolve_locally);
380 AstNode* ResolveVarOrField(intptr_t ident_pos, const String &ident); 381 AstNode* ResolveVarOrField(intptr_t ident_pos, const String &ident);
381 AstNode* OptimizeBinaryOpNode(intptr_t op_pos, 382 AstNode* OptimizeBinaryOpNode(intptr_t op_pos,
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
442 TryBlocks* try_blocks_list_; 443 TryBlocks* try_blocks_list_;
443 444
444 char error_msg_[kErrorBuflen]; 445 char error_msg_[kErrorBuflen];
445 446
446 DISALLOW_COPY_AND_ASSIGN(Parser); 447 DISALLOW_COPY_AND_ASSIGN(Parser);
447 }; 448 };
448 449
449 } // namespace dart 450 } // namespace dart
450 451
451 #endif // VM_PARSER_H_ 452 #endif // VM_PARSER_H_
OLDNEW
« no previous file with comments | « runtime/vm/code_generator_ia32.cc ('k') | runtime/vm/parser.cc » ('j') | runtime/vm/parser.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698