Browse Source

parseExpression deprecation

master
Odilitime 2 years ago
parent
commit
19714bf32c
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/parsers/scripting/javascript/JSParser.h

+ 2
- 2
src/parsers/scripting/javascript/JSParser.h View File

@@ -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);
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);

Loading…
Cancel
Save