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"
36 const String& sourceString,
ALIB_DLL integer GetProgramLength()
ALIB_DLL String GetOptimizedString()
AString optimizedString
The normalized string generated on request out of optimized expression program.
ALIB_DLL Box ResultType()
ALIB_DLL int CtdOptimizations()
detail::ProgramBase * program
The compiled expression program.
String originalString
The original source string of the expression.
ALIB_DLL ~ExpressionVal()
Destructor.
ALIB_DLL ExpressionVal(MonoAllocator &allocator, const String &sourceString, Scope *pCTScope)
String name
The name of the expression (if named, otherwise resourced, usually "ANONYMOUS" ).
Ticks::Duration DbgLastEvaluationTime
MonoAllocator & allocator
ALIB_DLL Box Evaluate(Scope &scope)
AString normalizedString
The normalized string as a result of compilation.
constexpr integer Length() const
#define ALIB_ASSERT_ERROR(cond, domain,...)
AString DbgList(Expression expression)
strings::TAString< character, lang::HeapAllocator > AString
Type alias in namespace alib.
lang::integer integer
Type alias in namespace alib.
monomem::TMonoAllocator< lang::HeapAllocator > MonoAllocator
boxing::Box Box
Type alias in namespace alib.
strings::TString< character > String
Type alias in namespace alib.
expressions::ExpressionsCamp EXPRESSIONS
The singleton instance of ALib Camp class ExpressionsCamp.
time::Ticks Ticks
Type alias in namespace alib.
static ALIB_DLL AString DbgList(Program &program)