NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
|
#include "stringparser.hpp"
#include "stringfunctions.hpp"
#include "stringexpression.hpp"
#include <algorithm>
#include "../utils/timer.hpp"
#include "../structures.hpp"
Go to the source code of this file.
Namespaces | |
namespace | NumeRe |
Functions | |
std::string | removeQuotationMarks (const std::string &sString) |
This function simply removes the surrounding quotation marks. More... | |
std::string | addQuotationMarks (const std::string &sString) |
This function simply adds the surrounding quotation marks. More... | |
static size_t | NumeRe::getOperatorPrecedence (StringView oprt) |
Static function to obtain the passed operator's precedence. More... | |
static void | NumeRe::finalizeStack (std::vector< StringStackItem > &rpnStack) |
Static function to finalize the if-else logic in this stack. More... | |
static std::vector< StringStackItem > | NumeRe::convertToStack (const std::vector< StringView > &vTokens) |
Static function to convert the tokens to a RPN stack. More... | |
Variables | |
value_type | vAns |
std::string addQuotationMarks | ( | const std::string & | sString | ) |
This function simply adds the surrounding quotation marks.
sString | const std::string& |
Definition at line 96 of file stringfunctions.hpp.
Referenced by NumeRe::StringParser::numToString().
std::string removeQuotationMarks | ( | const std::string & | sString | ) |
This function simply removes the surrounding quotation marks.
sString | const std::string& |
Definition at line 79 of file stringfunctions.hpp.
Referenced by NumeRe::StringParser::storeStringToStringObject().
|
extern |
Definition at line 24 of file parser_functions.cpp.
Referenced by NumeRe::StringParser::eval(), and NumeRe::StringParser::storeStringResults().