Explorar el Código

parseExpression deprecation

master
Odilitime hace 3 años
padre
commit
19714bf32c
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2
    2
      src/parsers/scripting/javascript/JSParser.h

+ 2
- 2
src/parsers/scripting/javascript/JSParser.h Ver fichero

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

Cargando…
Cancelar
Guardar