IncludeJS  0.0.1
Build your own JavaScript runtime
includejs::Context Class Reference

Public Member Functions

auto make_undefined () const -> Value
 
auto make_error (const std::string &message) const -> Value
 
auto make_object () const -> Value
 
auto make_promise () const -> Promise
 
auto make_array () const -> Value
 
auto from (const std::string &value) const -> Value
 
auto from (const char *) const -> Value
 
auto from (int value) const -> Value
 
auto from (double value) const -> Value
 
auto from (bool value) const -> Value
 
auto from (std::nullptr_t value) const -> Value
 
auto from_json (const std::string &json_string) const -> Value
 
auto global () const -> Value
 

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