|
|
|
@ -76,7 +76,7 @@ public:
@@ -76,7 +76,7 @@ public:
|
|
|
|
|
class js_function : public js_internal_storage { |
|
|
|
|
public: |
|
|
|
|
std::vector<std::string> tokens; |
|
|
|
|
std::vector<std::string> parameters; |
|
|
|
|
std::vector<std::string> parameters; // incoming call or defined vars?
|
|
|
|
|
js_function *parentScope = nullptr; |
|
|
|
|
js_object locals; |
|
|
|
|
//js_scope scope;
|
|
|
|
@ -123,7 +123,7 @@ js_internal_storage *doExpression(js_function &rootScope, std::string token);
@@ -123,7 +123,7 @@ js_internal_storage *doExpression(js_function &rootScope, std::string token);
|
|
|
|
|
bool doAssignment(js_function &rootScope, std::string token); |
|
|
|
|
|
|
|
|
|
void parseArray(js_function &rootScope, std::string token); |
|
|
|
|
js_internal_storage *parseExpression(js_function &rootScope, std::string token); |
|
|
|
|
//js_internal_storage *parseExpression(js_function &rootScope, std::string token);
|
|
|
|
|
void parseJSON(js_function &rootScope, std::string token); |
|
|
|
|
|
|
|
|
|
std::vector<std::string> jsGetTokens(const std::string &source, const size_t start); |
|
|
|
|