10# if !defined (HPP_ALIB_EXPRESSIONS_UTIL_EXPRESSION_FORMATTER)
13# if !defined(HPP_ALIB_LANG_FORMAT_EXCEPTIONS)
17# if !defined (HPP_ALIB_EXPRESSIONS_COMPILER)
22namespace alib::expressions::util {
28: compiler ( pCompiler )
29, stdFormatter ( formatter )
30, originalFormatString( pFormatString )
71 nonExprPortionStart= endPos;
73 ++nonExprPortionStart;
98 for(
size_t expressionNo= 0; expressionNo <
expressions.size() ; ++expressionNo )
99 results.Add(
expressions[expressionNo]->Evaluate( scope ) );
virtual ALIB_API SPExpression Compile(const String &expressionString)
Exception & Add(const NCString &file, int line, const NCString &func, TEnum type, TArgs &&... args)
integer IndexOf(TChar needle, integer startIdx=0) const
constexpr integer Length() const
TString< TChar > Substring(integer regionStart, integer regionLength=MAX_LEN) const
#define ALIB_CALLER_NULLED
#define ALIB_CALLER_PRUNED
std::shared_ptr< lang::format::Formatter > SPFormatter
characters::character character
Type alias in namespace alib.
lang::integer integer
Type alias in namespace alib.