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

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

Issue 3001103002: Do not qualify with dart:: except where necessary (Closed)
Patch Set: Created 3 years, 4 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/kernel_to_il.cc ('k') | no next file » | 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 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 286
287 // Build a function containing the initializer expression of the 287 // Build a function containing the initializer expression of the
288 // given static field. 288 // given static field.
289 static ParsedFunction* ParseStaticFieldInitializer(const Field& field); 289 static ParsedFunction* ParseStaticFieldInitializer(const Field& field);
290 290
291 static void InsertCachedConstantValue(const Script& script, 291 static void InsertCachedConstantValue(const Script& script,
292 TokenPosition token_pos, 292 TokenPosition token_pos,
293 const Instance& value); 293 const Instance& value);
294 294
295 // Parse a function to retrieve parameter information that is not retained in 295 // Parse a function to retrieve parameter information that is not retained in
296 // the dart::Function object. Returns either an error if the parse fails 296 // the Function object. Returns either an error if the parse fails (which
297 // (which could be the case for local functions), or a flat array of entries 297 // could be the case for local functions), or a flat array of entries for each
298 // for each parameter. Each parameter entry contains: 298 // parameter. Each parameter entry contains: * a Dart bool indicating whether
299 // * a Dart bool indicating whether the parameter was declared final 299 // the parameter was declared final * its default value (or null if none was
300 // * its default value (or null if none was declared) 300 // declared) * an array of metadata (or null if no metadata was declared).
301 // * an array of metadata (or null if no metadata was declared).
302 enum { 301 enum {
303 kParameterIsFinalOffset, 302 kParameterIsFinalOffset,
304 kParameterDefaultValueOffset, 303 kParameterDefaultValueOffset,
305 kParameterMetadataOffset, 304 kParameterMetadataOffset,
306 kParameterEntrySize, 305 kParameterEntrySize,
307 }; 306 };
308 static RawObject* ParseFunctionParameters(const Function& func); 307 static RawObject* ParseFunctionParameters(const Function& func);
309 308
310 private: 309 private:
311 friend class EffectGraphVisitor; // For BuildNoSuchMethodArguments. 310 friend class EffectGraphVisitor; // For BuildNoSuchMethodArguments.
(...skipping 716 matching lines...) Expand 10 before | Expand all | Expand 10 after
1028 1027
1029 intptr_t recursion_counter_; 1028 intptr_t recursion_counter_;
1030 friend class RecursionChecker; 1029 friend class RecursionChecker;
1031 1030
1032 DISALLOW_COPY_AND_ASSIGN(Parser); 1031 DISALLOW_COPY_AND_ASSIGN(Parser);
1033 }; 1032 };
1034 1033
1035 } // namespace dart 1034 } // namespace dart
1036 1035
1037 #endif // RUNTIME_VM_PARSER_H_ 1036 #endif // RUNTIME_VM_PARSER_H_
OLDNEW
« no previous file with comments | « runtime/vm/kernel_to_il.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698