#include <weHtmlEntity.h>
Public Member Functions | |
WeScript (iweEntity *prnt=NULL) | |
Default constructor. | |
WeScript (WeScript &entity) | |
Copy constructor. | |
~WeScript () | |
Destructor. | |
virtual WeScannerToken | Parse (string tagName, WeTagScanner &scanner, WeHTTP *processor=NULL) |
Parses the given stream. | |
bool | SetEngine (void *engine=NULL) |
Sets the scripting engine. | |
void * | Execute () |
Executes the inherited script. |
Base class to implement scripting engine operations.
Definition at line 231 of file weHtmlEntity.h.
WeScript::WeScript | ( | iweEntity * | prnt = NULL |
) |
Default constructor.
prnt | - If non-null, the prnt. |
Definition at line 815 of file weHtmlEntity.cpp.
WeScript::WeScript | ( | WeScript & | entity | ) |
Copy constructor.
entity | - the entity to make copy of. |
Definition at line 828 of file weHtmlEntity.cpp.
WeScript::~WeScript | ( | ) |
void * WeScript::Execute | ( | ) |
Executes the inherited script.
null | if it fails, cript execution results else. |
Definition at line 995 of file weHtmlEntity.cpp.
WeScannerToken WeScript::Parse | ( | string | tagName, | |
WeTagScanner & | scanner, | |||
WeHTTP * | processor = NULL | |||
) | [virtual] |
Parses the given stream.
This is the specialisation for the parsing function to parse scripting objects.
tagName | - name of the tag. | |
scanner | - the scanner. | |
processor | - WeHTTP object with processing options and network connection |
WeScannerToken | that represents current scanner's state. |
Definition at line 856 of file weHtmlEntity.cpp.
bool WeScript::SetEngine | ( | void * | engine = NULL |
) |
Sets the scripting engine.
Sets or creates the scripting engine. If given parameter engine is NULL, this function tries to create the scripting engine based on the language attribute value. The default engine is the JavaScript.
engine | - The pointer to the engine |
true | if success, false otherwise |
Definition at line 982 of file weHtmlEntity.cpp.
©2009 Positive Technologies |
Generated on Tue Jul 14 18:27:32 2009 for WebEngine by |
|
1.5.7 |
|