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

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

Issue 8234022: Implement index operator super call (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 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 | « no previous file | 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) 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 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 GrowableArray<FieldInitExpression>* initializers); 223 GrowableArray<FieldInitExpression>* initializers);
224 AstNode* ParseSuperInitializer(const Class& cls, LocalVariable* receiver); 224 AstNode* ParseSuperInitializer(const Class& cls, LocalVariable* receiver);
225 AstNode* ParseInitializer(const Class& cls, LocalVariable* receiver); 225 AstNode* ParseInitializer(const Class& cls, LocalVariable* receiver);
226 void ParseConstructorRedirection(const Class& cls, LocalVariable* receiver); 226 void ParseConstructorRedirection(const Class& cls, LocalVariable* receiver);
227 void ParseInitializers(const Class& cls, LocalVariable* receiver); 227 void ParseInitializers(const Class& cls, LocalVariable* receiver);
228 String& ParseNativeDeclaration(); 228 String& ParseNativeDeclaration();
229 RawArray* ParseInterfaceList(); 229 RawArray* ParseInterfaceList();
230 void AddInterfaces(intptr_t interfaces_pos, 230 void AddInterfaces(intptr_t interfaces_pos,
231 const Class& cls, 231 const Class& cls,
232 const Array& interfaces); 232 const Array& interfaces);
233 RawFunction* GetSuperFunction(intptr_t token_pos, const String& name);
233 AstNode* ParseSuperCall(const String& function_name); 234 AstNode* ParseSuperCall(const String& function_name);
234 AstNode* ParseSuperFieldAccess(const String& field_name); 235 AstNode* ParseSuperFieldAccess(const String& field_name);
235 AstNode* ParseSuperOperator(); 236 AstNode* ParseSuperOperator();
236 237
237 static void SetupDefaultsForOptionalParams(const ParamList* params, 238 static void SetupDefaultsForOptionalParams(const ParamList* params,
238 Array& default_values); 239 Array& default_values);
239 AstNode* CreateImplicitClosureNode(const Function& func, 240 AstNode* CreateImplicitClosureNode(const Function& func,
240 intptr_t token_pos, 241 intptr_t token_pos,
241 AstNode* receiver); 242 AstNode* receiver);
242 void AddFormalParamsToFunction(const ParamList* params, const Function& func); 243 void AddFormalParamsToFunction(const ParamList* params, const Function& func);
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
435 TryBlocks* try_blocks_list_; 436 TryBlocks* try_blocks_list_;
436 437
437 char error_msg_[kErrorBuflen]; 438 char error_msg_[kErrorBuflen];
438 439
439 DISALLOW_COPY_AND_ASSIGN(Parser); 440 DISALLOW_COPY_AND_ASSIGN(Parser);
440 }; 441 };
441 442
442 } // namespace dart 443 } // namespace dart
443 444
444 #endif // VM_PARSER_H_ 445 #endif // VM_PARSER_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698