Program Listing for File Expressions.h
↰ Return to documentation for file (ADS/stack/Expressions.h)
/*--------------------------------------------------------------------------*/
/*--------------------------- File Expressions.h ---------------------------*/
/*--------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------*/
/*----------------------------- DEFINITIONS --------------------------------*/
/*--------------------------------------------------------------------------*/
#ifndef __ADS_Expressions
#define __ADS_Expressions
/* self-identification: #endif constant */
/*--------------------------------------------------------------------------*/
/*------------------------------ INCLUDES ----------------------------------*/
/*--------------------------------------------------------------------------*/
#include "ADS/Contract.h"
#include "ADS/stack/ArrayStack.h"
#include <cstddef>
#include <limits>
#include <string>
#include <string_view>
#include <vector>
/*--------------------------------------------------------------------------*/
/*--------------------------- NAMESPACE ------------------------------------*/
/*--------------------------------------------------------------------------*/
namespace ADS {
long evalPostfix( std::string_view e );
std::string toPostfixParenthesized( std::string_view e );
std::string toPostfix( std::string_view e );
/*--------------------------------------------------------------------------*/
} // end( namespace ADS )
/*--------------------------------------------------------------------------*/
/*-------------------------- IMPLEMENTATION --------------------------------*/
/*--------------------------------------------------------------------------*/
#include "ADS/stack/impl/Expressions.tpp"
/*--------------------------------------------------------------------------*/
#endif /* Expressions.h included */
/*--------------------------------------------------------------------------*/
/*------------------------- End File Expressions.h -------------------------*/
/*--------------------------------------------------------------------------*/