Quellcode durchsuchen

parseExpression deprecation

master
Odilitime vor 3 Jahren
Ursprung
Commit
19714bf32c
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2
    2
      src/parsers/scripting/javascript/JSParser.h

+ 2
- 2
src/parsers/scripting/javascript/JSParser.h Datei anzeigen

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

Laden…
Abbrechen
Speichern