Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
dart::TypeTestingStubNamer Class Reference

#include <type_testing_stubs.h>

Public Member Functions

 TypeTestingStubNamer ()
 
const char * StubNameForType (const AbstractType &type) const
 
void WriteStubNameForTypeTo (BaseTextBuffer *buffer, const AbstractType &type) const
 

Detailed Description

Definition at line 18 of file type_testing_stubs.h.

Constructor & Destructor Documentation

◆ TypeTestingStubNamer()

dart::TypeTestingStubNamer::TypeTestingStubNamer ( )

Definition at line 28 of file type_testing_stubs.cc.

29 : lib_(Library::Handle()),
30 klass_(Class::Handle()),
31 type_(AbstractType::Handle()),
32 string_(String::Handle()) {}
static Object & Handle()
Definition: object.h:407

Member Function Documentation

◆ StubNameForType()

const char * dart::TypeTestingStubNamer::StubNameForType ( const AbstractType type) const

Definition at line 34 of file type_testing_stubs.cc.

35 {
36 ZoneTextBuffer buffer(Thread::Current()->zone());
38 return buffer.buffer();
39}
GLenum type
static Thread * Current()
Definition: thread.h:362
void WriteStubNameForTypeTo(BaseTextBuffer *buffer, const AbstractType &type) const
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir Path to the cache directory This is different from the persistent_cache_path in embedder which is used for Skia shader cache icu native lib Path to the library file that exports the ICU data vm service The hostname IP address on which the Dart VM Service should be served If not defaults to or::depending on whether ipv6 is specified vm service A custom Dart VM Service port The default is to pick a randomly available open port disable vm Disable the Dart VM Service The Dart VM Service is never available in release mode disable vm service Disable mDNS Dart VM Service publication Bind to the IPv6 localhost address for the Dart VM Service Ignored if vm service host is set endless trace buffer
Definition: switches.h:126

◆ WriteStubNameForTypeTo()

void dart::TypeTestingStubNamer::WriteStubNameForTypeTo ( BaseTextBuffer buffer,
const AbstractType type 
) const

Definition at line 41 of file type_testing_stubs.cc.

43 {
44 buffer->AddString("TypeTestingStub_");
45 StringifyTypeTo(buffer, type);
46}

The documentation for this class was generated from the following files: