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

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

Issue 1316373002: Remove more GrowableObjectArray usage in parser (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Address comments Created 5 years, 3 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 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 "platform/assert.h" 10 #include "platform/assert.h"
(...skipping 17 matching lines...) Expand all
28 struct RegExpCompileData; 28 struct RegExpCompileData;
29 class SourceLabel; 29 class SourceLabel;
30 template <typename T> class GrowableArray; 30 template <typename T> class GrowableArray;
31 class Parser; 31 class Parser;
32 32
33 struct CatchParamDesc; 33 struct CatchParamDesc;
34 class ClassDesc; 34 class ClassDesc;
35 struct MemberDesc; 35 struct MemberDesc;
36 struct ParamList; 36 struct ParamList;
37 struct QualIdent; 37 struct QualIdent;
38 struct TopLevel; 38 class TopLevel;
39 39
40 // The class ParsedFunction holds the result of parsing a function. 40 // The class ParsedFunction holds the result of parsing a function.
41 class ParsedFunction : public ZoneAllocated { 41 class ParsedFunction : public ZoneAllocated {
42 public: 42 public:
43 ParsedFunction(Thread* thread, const Function& function) 43 ParsedFunction(Thread* thread, const Function& function)
44 : thread_(thread), 44 : thread_(thread),
45 function_(function), 45 function_(function),
46 code_(Code::Handle(zone(), function.unoptimized_code())), 46 code_(Code::Handle(zone(), function.unoptimized_code())),
47 node_sequence_(NULL), 47 node_sequence_(NULL),
48 regexp_compile_data_(NULL), 48 regexp_compile_data_(NULL),
(...skipping 839 matching lines...) Expand 10 before | Expand all | Expand 10 after
888 888
889 // Indentation of parser trace. 889 // Indentation of parser trace.
890 intptr_t trace_indent_; 890 intptr_t trace_indent_;
891 891
892 DISALLOW_COPY_AND_ASSIGN(Parser); 892 DISALLOW_COPY_AND_ASSIGN(Parser);
893 }; 893 };
894 894
895 } // namespace dart 895 } // namespace dart
896 896
897 #endif // VM_PARSER_H_ 897 #endif // 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