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

Side by Side Diff: runtime/include/dart_debugger_api.h

Issue 18238003: Add Dart_GetSupertype to the dart debugger API so that the dartium (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | runtime/vm/dart_api_impl.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 INCLUDE_DART_DEBUGGER_API_H_ 5 #ifndef INCLUDE_DART_DEBUGGER_API_H_
6 #define INCLUDE_DART_DEBUGGER_API_H_ 6 #define INCLUDE_DART_DEBUGGER_API_H_
7 7
8 #include "include/dart_api.h" 8 #include "include/dart_api.h"
9 9
10 typedef struct _Dart_Breakpoint* Dart_Breakpoint; 10 typedef struct _Dart_Breakpoint* Dart_Breakpoint;
(...skipping 486 matching lines...) Expand 10 before | Expand all | Expand 10 after
497 * Returns the superclass of the given class \cls. 497 * Returns the superclass of the given class \cls.
498 * 498 *
499 * Requires there to be a current isolate. 499 * Requires there to be a current isolate.
500 * 500 *
501 * \return A handle to the class object. 501 * \return A handle to the class object.
502 */ 502 */
503 DART_EXPORT Dart_Handle Dart_GetSuperclass(Dart_Handle cls); 503 DART_EXPORT Dart_Handle Dart_GetSuperclass(Dart_Handle cls);
504 504
505 505
506 /** 506 /**
507 * Returns the supertype of the given instantiated type \cls.
508 *
509 * Requires there to be a current isolate.
510 *
511 * \return A handle to the type object.
512 */
513 DART_EXPORT Dart_Handle Dart_GetSupertype(Dart_Handle type);
514
515
516 /**
507 * Returns info about the given class \cls_id. 517 * Returns info about the given class \cls_id.
508 * 518 *
509 * \param class_name receives handle to class name (string) if non-null. 519 * \param class_name receives handle to class name (string) if non-null.
510 * \param library receives handle to library in which the class 520 * \param library receives handle to library in which the class
511 * is defined, if non-null. 521 * is defined, if non-null.
512 * \param super_class_id receives the class id to the super class of 522 * \param super_class_id receives the class id to the super class of
513 * \cls_id if non-null. 523 * \cls_id if non-null.
514 * \param static_fields If non-null, receives an array containing field 524 * \param static_fields If non-null, receives an array containing field
515 * names and values of static fields of the class. Names are 525 * names and values of static fields of the class. Names are
516 * at array offsets 2*n, values at offset 2*n+1. 526 * at array offsets 2*n, values at offset 2*n+1.
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
623 * \param request A REST-like string, which uses '/' to separate 633 * \param request A REST-like string, which uses '/' to separate
624 * parameters. The first parameter is always the status type. 634 * parameters. The first parameter is always the status type.
625 * 635 *
626 * \return The requested status as a JSON formatted string, with the 636 * \return The requested status as a JSON formatted string, with the
627 * contents defined by the status plug-in. The caller is responsible 637 * contents defined by the status plug-in. The caller is responsible
628 * for freeing this string. 638 * for freeing this string.
629 */ 639 */
630 DART_EXPORT char* Dart_GetVmStatus(const char* request); 640 DART_EXPORT char* Dart_GetVmStatus(const char* request);
631 641
632 #endif // INCLUDE_DART_DEBUGGER_API_H_ 642 #endif // INCLUDE_DART_DEBUGGER_API_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/dart_api_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698