Photon 1.0.0
Loading...
Searching...
No Matches
Photon::IScriptObject Class Referencefinal

#include <IScriptObject.hpp>

Inheritance diagram for Photon::IScriptObject:
Photon::IDOMObject

Public Member Functions

 ~IScriptObject () override=default
 
Int32 node_type () override
 
Bool execute ()
 
- Public Member Functions inherited from Photon::IDOMObject
virtual ~IDOMObject ()=default
 
 PHOTON_COPY_DEFAULT (IDOMObject)
 
virtual bool is_element ()
 
virtual bool is_data ()
 
virtual bool is_comment ()
 
virtual bool is_doc_type ()
 
virtual String type ()
 
virtual String src ()
 
virtual String value ()
 
virtual rapidxml::xml_attribute< char > * get_attribute (const char *attrib_name)
 
virtual rapidxml::xml_node< char > * get_node (const char *attrib_name)
 

Static Public Member Functions

static IScriptObjectmake_script_object (String data)
 
- Static Public Member Functions inherited from Photon::IDOMObject
static IDOMObjectmake_dom_object (String data)
 

Private Member Functions

 IScriptObject (rapidxml::xml_node< char > *p_node)
 

Private Attributes

std::unique_ptr< ECMAVirtualMachinem_vm
 

Additional Inherited Members

- Protected Member Functions inherited from Photon::IDOMObject
 IDOMObject (rapidxml::xml_node< char > *p_node)
 

Constructor & Destructor Documentation

◆ IScriptObject()

Photon::IScriptObject::IScriptObject ( rapidxml::xml_node< char > *  p_node)
explicitprivate

◆ ~IScriptObject()

Photon::IScriptObject::~IScriptObject ( )
overridedefault

Member Function Documentation

◆ execute()

Bool Photon::IScriptObject::execute ( )

◆ make_script_object()

IScriptObject * Photon::IScriptObject::make_script_object ( String  data)
static

◆ node_type()

Int32 Photon::IScriptObject::node_type ( )
overridevirtual

Reimplemented from Photon::IDOMObject.

Member Data Documentation

◆ m_vm

std::unique_ptr<ECMAVirtualMachine> Photon::IScriptObject::m_vm
private

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