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

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

Issue 2979763002: [VM generic function types] Properly set the scope function after parsing a (Closed)
Patch Set: address comments, move new test from language to language_2, sync Created 3 years, 5 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
« no previous file with comments | « runtime/vm/object.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 RUNTIME_VM_PARSER_H_ 5 #ifndef RUNTIME_VM_PARSER_H_
6 #define RUNTIME_VM_PARSER_H_ 6 #define RUNTIME_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 520 matching lines...) Expand 10 before | Expand all | Expand 10 after
531 void ParseLibraryDefinition(const Object& tl_owner); 531 void ParseLibraryDefinition(const Object& tl_owner);
532 void ParseLibraryName(); 532 void ParseLibraryName();
533 void ParseLibraryImportExport(const Object& tl_owner, 533 void ParseLibraryImportExport(const Object& tl_owner,
534 TokenPosition metadata_pos); 534 TokenPosition metadata_pos);
535 void ParseLibraryPart(); 535 void ParseLibraryPart();
536 void ParsePartHeader(); 536 void ParsePartHeader();
537 void ParseLibraryNameObsoleteSyntax(); 537 void ParseLibraryNameObsoleteSyntax();
538 void ParseLibraryImportObsoleteSyntax(); 538 void ParseLibraryImportObsoleteSyntax();
539 void ParseLibraryIncludeObsoleteSyntax(); 539 void ParseLibraryIncludeObsoleteSyntax();
540 540
541 void ResolveSignature(const Function& signature); 541 void ResolveSignatureTypeParameters(const Function& signature);
542 void ResolveType(AbstractType* type); 542 void ResolveTypeParameters(AbstractType* type);
543 RawAbstractType* CanonicalizeType(const AbstractType& type); 543 RawAbstractType* CanonicalizeType(const AbstractType& type);
544 RawAbstractType* ParseType(ClassFinalizer::FinalizationKind finalization, 544 RawAbstractType* ParseType(ClassFinalizer::FinalizationKind finalization,
545 bool allow_deferred_type = false, 545 bool allow_deferred_type = false,
546 bool consume_unresolved_prefix = true); 546 bool consume_unresolved_prefix = true);
547 RawAbstractType* ParseType(ClassFinalizer::FinalizationKind finalization, 547 RawAbstractType* ParseType(ClassFinalizer::FinalizationKind finalization,
548 bool allow_deferred_type, 548 bool allow_deferred_type,
549 bool consume_unresolved_prefix, 549 bool consume_unresolved_prefix,
550 LibraryPrefix* prefix); 550 LibraryPrefix* prefix);
551 RawType* ParseFunctionType(const AbstractType& result_type, 551 RawType* ParseFunctionType(const AbstractType& result_type,
552 ClassFinalizer::FinalizationKind finalization); 552 ClassFinalizer::FinalizationKind finalization);
(...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after
1026 1026
1027 intptr_t recursion_counter_; 1027 intptr_t recursion_counter_;
1028 friend class RecursionChecker; 1028 friend class RecursionChecker;
1029 1029
1030 DISALLOW_COPY_AND_ASSIGN(Parser); 1030 DISALLOW_COPY_AND_ASSIGN(Parser);
1031 }; 1031 };
1032 1032
1033 } // namespace dart 1033 } // namespace dart
1034 1034
1035 #endif // RUNTIME_VM_PARSER_H_ 1035 #endif // RUNTIME_VM_PARSER_H_
OLDNEW
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698