Flutter Engine
The Flutter Engine
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
dart::V8SnapshotProfileWriter::Reference Struct Reference

#include <v8_snapshot_writer.h>

Public Types

enum class  Type { kElement , kProperty }
 

Public Member Functions

bool IsElement () const
 

Static Public Member Functions

static Reference Element (intptr_t offset)
 
static Reference Property (const char *name)
 

Public Attributes

enum dart::V8SnapshotProfileWriter::Reference::Type type
 
intptr_t offset
 
const char * name
 

Detailed Description

Definition at line 68 of file v8_snapshot_writer.h.

Member Enumeration Documentation

◆ Type

Enumerator
kElement 
kProperty 

Definition at line 69 of file v8_snapshot_writer.h.

69 {
70 kElement,
71 kProperty,
72 } type;
enum dart::V8SnapshotProfileWriter::Reference::Type type

Member Function Documentation

◆ Element()

static Reference dart::V8SnapshotProfileWriter::Reference::Element ( intptr_t  offset)
inlinestatic

◆ IsElement()

bool dart::V8SnapshotProfileWriter::Reference::IsElement ( ) const
inline

Definition at line 83 of file v8_snapshot_writer.h.

83{ return type == Type::kElement; }

◆ Property()

static Reference dart::V8SnapshotProfileWriter::Reference::Property ( const char *  name)
inlinestatic

Member Data Documentation

◆ name

const char* dart::V8SnapshotProfileWriter::Reference::name

Definition at line 74 of file v8_snapshot_writer.h.

◆ offset

intptr_t dart::V8SnapshotProfileWriter::Reference::offset

Definition at line 73 of file v8_snapshot_writer.h.

◆ type

enum dart::V8SnapshotProfileWriter::Reference::Type dart::V8SnapshotProfileWriter::Reference::type

The documentation for this struct was generated from the following file: