Photon 1.0.0
Loading...
Searching...
No Matches
Photon::ECMAObject Struct Referencefinal

#include <ECMAVirtualMachine.hpp>

Public Member Functions

ECMAObjectoperator= (const ECMAObject &rhs)
 
ECMAObjectoperator-= (const ECMAObject &rhs)
 
ECMAObjectoperator+= (const ECMAObject &rhs)
 

Public Attributes

String m_name {}
 
std::unordered_map< String, ECMAFunctionm_methods
 
std::unordered_map< String, ECMAValuem_properties
 

Member Function Documentation

◆ operator+=()

ECMAObject & Photon::ECMAObject::operator+= ( const ECMAObject rhs)
inline

◆ operator-=()

ECMAObject & Photon::ECMAObject::operator-= ( const ECMAObject rhs)
inline

◆ operator=()

ECMAObject & Photon::ECMAObject::operator= ( const ECMAObject rhs)
inline

Member Data Documentation

◆ m_methods

std::unordered_map<String, ECMAFunction> Photon::ECMAObject::m_methods

◆ m_name

String Photon::ECMAObject::m_name {}

◆ m_properties

std::unordered_map<String, ECMAValue> Photon::ECMAObject::m_properties

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