move shared functionality to utility function added to Lepton library

This commit is contained in:
Axel Kohlmeyer
2022-12-22 05:37:59 -05:00
parent 3bb6e1ab19
commit 4cbe8b353b
4 changed files with 45 additions and 13 deletions

View File

@ -32,6 +32,8 @@
* USE OR OTHER DEALINGS IN THE SOFTWARE. *
* -------------------------------------------------------------------------- */
#include <string>
#include "lepton/CompiledExpression.h"
#include "lepton/CustomFunction.h"
#include "lepton/ExpressionProgram.h"
@ -40,4 +42,10 @@
#include "lepton/ParsedExpression.h"
#include "lepton/Parser.h"
// utility functions
namespace LMP_Lepton
{
/// remove whitespace and quotes from expression string
std::string condense(const std::string &);
}
#endif /*LMP_LEPTON_H_*/