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

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

Issue 10603003: Fix stuff (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 6 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/vm/debugger.cc ('k') | runtime/vm/parser.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_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 434 matching lines...) Expand 10 before | Expand all | Expand 10 after
445 bool ResolveIdentInLocalScope(intptr_t ident_pos, 445 bool ResolveIdentInLocalScope(intptr_t ident_pos,
446 const String &ident, 446 const String &ident,
447 AstNode** node); 447 AstNode** node);
448 static const bool kResolveLocally = true; 448 static const bool kResolveLocally = true;
449 static const bool kResolveIncludingImports = false; 449 static const bool kResolveIncludingImports = false;
450 AstNode* ResolveIdentInLibraryScope(const Library& lib, 450 AstNode* ResolveIdentInLibraryScope(const Library& lib,
451 const QualIdent& qual_ident, 451 const QualIdent& qual_ident,
452 bool resolve_locally); 452 bool resolve_locally);
453 AstNode* ResolveIdentInLibraryPrefixScope(const LibraryPrefix& lib_prefix, 453 AstNode* ResolveIdentInLibraryPrefixScope(const LibraryPrefix& lib_prefix,
454 const QualIdent& qual_ident); 454 const QualIdent& qual_ident);
455 AstNode* ResolveVarOrField(intptr_t ident_pos, const String& ident); 455 AstNode* ResolveIdent(intptr_t ident_pos,
456 const String& ident,
457 bool allow_closure_names);
456 RawString* ResolveImportVar(intptr_t ident_pos, const String& ident); 458 RawString* ResolveImportVar(intptr_t ident_pos, const String& ident);
457 AstNode* OptimizeBinaryOpNode(intptr_t op_pos, 459 AstNode* OptimizeBinaryOpNode(intptr_t op_pos,
458 Token::Kind binary_op, 460 Token::Kind binary_op,
459 AstNode* lhs, 461 AstNode* lhs,
460 AstNode* rhs); 462 AstNode* rhs);
461 AstNode* ExpandAssignableOp(intptr_t op_pos, 463 AstNode* ExpandAssignableOp(intptr_t op_pos,
462 Token::Kind assignment_op, 464 Token::Kind assignment_op,
463 AstNode* lhs, 465 AstNode* lhs,
464 AstNode* rhs); 466 AstNode* rhs);
465 AstNode* PrepareCompoundAssignmentNodes(AstNode** expr); 467 AstNode* PrepareCompoundAssignmentNodes(AstNode** expr);
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
534 536
535 // Allocate temporary only once per function. 537 // Allocate temporary only once per function.
536 LocalVariable* expression_temp_; 538 LocalVariable* expression_temp_;
537 539
538 DISALLOW_COPY_AND_ASSIGN(Parser); 540 DISALLOW_COPY_AND_ASSIGN(Parser);
539 }; 541 };
540 542
541 } // namespace dart 543 } // namespace dart
542 544
543 #endif // VM_PARSER_H_ 545 #endif // VM_PARSER_H_
OLDNEW
« no previous file with comments | « runtime/vm/debugger.cc ('k') | runtime/vm/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698