瀏覽代碼

parseExpression deprecation

master
Odilitime 3 年之前
父節點
當前提交
19714bf32c
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. 2
    2
      src/parsers/scripting/javascript/JSParser.h

+ 2
- 2
src/parsers/scripting/javascript/JSParser.h 查看文件

@@ -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…
取消
儲存