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

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

Issue 27619002: Check that class member names do not conflict with type parameters (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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') | runtime/vm/parser.cc » ('J')
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 "lib/invocation_mirror.h" 10 #include "lib/invocation_mirror.h"
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 void ResolveTypeFromClass(const Class& cls, 377 void ResolveTypeFromClass(const Class& cls,
378 ClassFinalizer::FinalizationKind finalization, 378 ClassFinalizer::FinalizationKind finalization,
379 AbstractType* type); 379 AbstractType* type);
380 RawAbstractType* ParseType(ClassFinalizer::FinalizationKind finalization); 380 RawAbstractType* ParseType(ClassFinalizer::FinalizationKind finalization);
381 void ParseTypeParameters(const Class& cls); 381 void ParseTypeParameters(const Class& cls);
382 RawAbstractTypeArguments* ParseTypeArguments( 382 RawAbstractTypeArguments* ParseTypeArguments(
383 ClassFinalizer::FinalizationKind finalization); 383 ClassFinalizer::FinalizationKind finalization);
384 void ParseQualIdent(QualIdent* qual_ident); 384 void ParseQualIdent(QualIdent* qual_ident);
385 void ParseMethodOrConstructor(ClassDesc* members, MemberDesc* method); 385 void ParseMethodOrConstructor(ClassDesc* members, MemberDesc* method);
386 void ParseFieldDefinition(ClassDesc* members, MemberDesc* field); 386 void ParseFieldDefinition(ClassDesc* members, MemberDesc* field);
387 void CheckMemberNameConflict(ClassDesc* members, MemberDesc* member);
387 void ParseClassMemberDefinition(ClassDesc* members, 388 void ParseClassMemberDefinition(ClassDesc* members,
388 intptr_t metadata_pos); 389 intptr_t metadata_pos);
389 void ParseFormalParameter(bool allow_explicit_default_value, 390 void ParseFormalParameter(bool allow_explicit_default_value,
390 bool evaluate_metadata, 391 bool evaluate_metadata,
391 ParamList* params); 392 ParamList* params);
392 void ParseFormalParameters(bool allow_explicit_default_values, 393 void ParseFormalParameters(bool allow_explicit_default_values,
393 bool evaluate_metadata, 394 bool evaluate_metadata,
394 ParamList* params); 395 ParamList* params);
395 void ParseFormalParameterList(bool allow_explicit_default_values, 396 void ParseFormalParameterList(bool allow_explicit_default_values,
396 bool evaluate_metadata, 397 bool evaluate_metadata,
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
717 intptr_t last_used_try_index_; 718 intptr_t last_used_try_index_;
718 719
719 bool unregister_pending_function_; 720 bool unregister_pending_function_;
720 721
721 DISALLOW_COPY_AND_ASSIGN(Parser); 722 DISALLOW_COPY_AND_ASSIGN(Parser);
722 }; 723 };
723 724
724 } // namespace dart 725 } // namespace dart
725 726
726 #endif // VM_PARSER_H_ 727 #endif // VM_PARSER_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/parser.cc » ('j') | runtime/vm/parser.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698