Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
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.

Member Function Documentation

◆ Element()

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

Definition at line 76 of file v8_snapshot_writer.h.

76 {
77 return {Type::kElement, offset, nullptr};
78 }

◆ 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

Definition at line 79 of file v8_snapshot_writer.h.

79 {
80 return {Type::kProperty, 0, name};
81 }

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: