File indexing completed on 2024-04-28 11:20:31
0001 /* 0002 SPDX-License-Identifier: GPL-2.0-or-later 0003 SPDX-FileCopyrightText: 2014 Lucas Hermann Negri <lucashnegri@gmail.com> 0004 */ 0005 0006 #ifndef _LUAEXPRESSION_H 0007 #define _LUAEXPRESSION_H 0008 0009 #include "expression.h" 0010 0011 struct lua_State; 0012 0013 class LuaExpression : public Cantor::Expression 0014 { 0015 Q_OBJECT 0016 0017 public: 0018 explicit LuaExpression( Cantor::Session* session, bool internal = false); 0019 ~LuaExpression() override = default; 0020 0021 void evaluate() override; 0022 void parseOutput(const QString&) override; 0023 void parseError(const QString&) override; 0024 }; 0025 0026 #endif /* _LUAEXPRESSION_H */