Browse Source

add prototypes

master
Odilitime 4 years ago
parent
commit
8479d9573f
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      src/parsers/scripting/javascript/JSParser.h

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

@@ -81,6 +81,10 @@ public:
js_scope rootScope;
};

js_internal_storage *parseExpression(js_scope &rootScope, std::string token);
void parseArray(js_scope &rootScope, std::string token);
void parseJSON(js_scope &rootScope, std::string token);

class JSParser {
public:
std::shared_ptr<JavaScript> parse(const std::string &javascript) const;

Loading…
Cancel
Save