Flutter Engine
The Flutter Engine
|
#include <source_report.h>
Public Types | |
enum | ReportKind { kCallSites = 0x1 , kCoverage = 0x2 , kPossibleBreakpoints = 0x4 , kProfile = 0x8 , kBranchCoverage = 0x10 } |
enum | CompileMode { kNoCompile , kForceCompile } |
Public Member Functions | |
SourceReport (intptr_t report_set, CompileMode compile=kNoCompile, bool report_lines=false) | |
SourceReport (intptr_t report_set, const GrowableObjectArray &library_filters, ZoneCStringSet *libraries_already_compiled=nullptr, CompileMode compile=kNoCompile, bool report_lines=false) | |
~SourceReport () | |
void | PrintJSON (JSONStream *js, const Script &script, TokenPosition start_pos=TokenPosition::kMinSource, TokenPosition end_pos=TokenPosition::kMaxSource) |
Static Public Attributes | |
static const char * | kCallSitesStr = "_CallSites" |
static const char * | kCoverageStr = "Coverage" |
static const char * | kPossibleBreakpointsStr = "PossibleBreakpoints" |
static const char * | kProfileStr = "_Profile" |
static const char * | kBranchCoverageStr = "BranchCoverage" |
Definition at line 23 of file source_report.h.
Enumerator | |
---|---|
kCallSites | |
kCoverage | |
kPossibleBreakpoints | |
kProfile | |
kBranchCoverage |
Definition at line 25 of file source_report.h.
|
explicit |
Definition at line 26 of file source_report.cc.
|
explicit |
Definition at line 40 of file source_report.cc.
dart::SourceReport::~SourceReport | ( | ) |
Definition at line 56 of file source_report.cc.
void dart::SourceReport::PrintJSON | ( | JSONStream * | js, |
const Script & | script, | ||
TokenPosition | start_pos = TokenPosition::kMinSource , |
||
TokenPosition | end_pos = TokenPosition::kMaxSource |
||
) |
Definition at line 670 of file source_report.cc.
|
static |
Definition at line 37 of file source_report.h.
|
static |
Definition at line 33 of file source_report.h.
|
static |
Definition at line 34 of file source_report.h.
|
static |
Definition at line 35 of file source_report.h.
|
static |
Definition at line 36 of file source_report.h.