1개의 변경된 파일과 23개의 추가작업 그리고 2개의 파일을 삭제
@ -1,4 +1,25 @@
@@ -1,4 +1,25 @@
|
||||
#ifndef JSPARSER_H |
||||
#define JSPARSER_H |
||||
#ifndef BROWSERJS_H |
||||
#define BROWSERJS_H |
||||
|
||||
#include "JSParser.h" |
||||
#include "../../../interfaces/components/DocumentComponent.h" |
||||
#include "../../../interfaces/graphical/renderers/glfw/Window.h" |
||||
|
||||
#include <vector> |
||||
|
||||
std::vector<std::string> getConstructs(); |
||||
bool isConstruct(std::string construct); |
||||
js_internal_storage *executeConstruct(std::string functionName, std::string params, js_function &scope); |
||||
js_internal_storage *jsConstruct_querySelector(std::string params, js_function &scope); |
||||
|
||||
class BrowserJavaScript : public JavaScript { |
||||
public: |
||||
BrowserJavaScript() { |
||||
this->setUpRoot(); |
||||
// we can modify rootScope...
|
||||
} |
||||
DocumentComponent *document; |
||||
Window *window; |
||||
}; |
||||
|
||||
#endif |
||||
|
불러오는 중...
Reference in new issue