22: compiler ( pCompiler )
23, stdFormatter ( formatter )
24, originalFormatString( pFormatString )
38 if( ( parsePos= originalFormatString.IndexOf( A_CHAR(
'{'), parsePos ) ) < 0
39 || parsePos == originalFormatString.Length() - 1 )
41 formatStringStripped << originalFormatString.Substring( nonExprPortionStart );
65 nonExprPortionStart= endPos;
67 ++nonExprPortionStart;
87 auto& results= stdFormatter->GetArgContainer();
88 results.Add( formatStringStripped );
92 for(
size_t expressionNo= 0; expressionNo < expressions.size() ; ++expressionNo )
93 results.Add( expressions[expressionNo]->Evaluate( scope ) );
98 expressions.size() + 1, originalFormatString );
104 stdFormatter->FormatArgs( target );
109 originalFormatString );
virtual ALIB_API Expression Compile(const String &expressionString)
Exception & Add(const lang::CallerInfo &ci, TEnum type, TArgs &&... args)
constexpr integer Length() const
TString< TChar > Substring(integer regionStart, integer regionLength=MAX_LEN) const
#define ALIB_CALLER_NULLED
Utility types of camp ALib Expressions.
characters::character character
Type alias in namespace alib.
lang::integer integer
Type alias in namespace alib.