From d8c1bb5a0eb1cf1c149b85577f4f35ffe303e5bc Mon Sep 17 00:00:00 2001 From: "Jesper K. Pedersen" Date: Thu, 23 May 2013 19:41:25 +0000 Subject: use the AST to get arguments for a function call Change-Id: Ie7ffbec02ad14a58f53924125ccc23e4e074a6e1 Reviewed-by: Nicolas Arnaud-Cormos --- scriptrunner.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scriptrunner.cpp') diff --git a/scriptrunner.cpp b/scriptrunner.cpp index eed43f4..0a2e2cd 100644 --- a/scriptrunner.cpp +++ b/scriptrunner.cpp @@ -51,6 +51,7 @@ #include "utils/utils.h" #include "objects/cppclass.h" #include "objects/git.h" +#include "objects/ast.h" using namespace Scripting; using namespace Scripting::Internal; @@ -206,6 +207,7 @@ ScriptRunner::QScriptEnginePtr ScriptRunner::ensureEngineInitialized() registerGlobal(new Dialogs, QLatin1String("dialogs")); registerGlobal(new Utils, QLatin1String("utils")); registerGlobal(new Git, QLatin1String("git")); + registerGlobal(new Ast, QLatin1String("ast")); registerWrappers(m_engine.data()); registerEnums(m_engine.data()); -- cgit v1.2.3