8#if !defined(ALIB_C20_MODULES) || ((ALIB_C20_MODULES != 0) && (ALIB_C20_MODULES != 1))
9# error "Symbol ALIB_C20_MODULES has to be given to the compiler as either 0 or 1"
19 module ALib.Expressions;
20 import ALib.Expressions.Impl;
21 import ALib.Characters.Functions;
24 import ALib.Camp.Base;
52 if( ( parsePos= originalFormatString.IndexOf( A_CHAR(
'{'), parsePos ) ) < 0
53 || parsePos == originalFormatString.Length() - 1 )
55 formatStringStripped << originalFormatString.Substring( nonExprPortionStart );
78 nonExprPortionStart= endPos;
80 ++nonExprPortionStart;
102 for(
size_t expressionNo= 0; expressionNo <
expressions.size() ; ++expressionNo )
103 results.Add(
expressions[expressionNo]->Evaluate( scope ) );
Exception & Add(const lang::CallerInfo &ci, TEnum type, TArgs &&... args)
#define ALIB_CALLER_NULLED
Utility types of camp ALib Expressions.
strings::TAString< character, lang::HeapAllocator > AString
Type alias in namespace alib.
lang::integer integer
Type alias in namespace alib.
exceptions::Exception Exception
Type alias in namespace alib.
containers::SharedPtr< format::Formatter > SPFormatter
strings::TString< character > String
Type alias in namespace alib.
characters::character character
Type alias in namespace alib.