#include <substitutions.h>
◆ Substitutions() [1/2]
CodeGenerator::Substitutions::Substitutions |
( |
const Substitutions * |
parent = nullptr | ) |
|
|
inline |
◆ Substitutions() [2/2]
CodeGenerator::Substitutions::Substitutions |
( |
const std::vector< FunctionTemplate > & |
functions, |
|
|
const std::string & |
ftype |
|
) |
| |
|
inline |
◆ addFuncSubstitution()
void CodeGenerator::Substitutions::addFuncSubstitution |
( |
const std::string & |
source, |
|
|
unsigned int |
numArguments, |
|
|
const std::string & |
funcTemplate, |
|
|
bool |
allowOverride = false |
|
) |
| |
|
inline |
◆ addVarSubstitution()
void CodeGenerator::Substitutions::addVarSubstitution |
( |
const std::string & |
source, |
|
|
const std::string & |
destionation, |
|
|
bool |
allowOverride = false |
|
) |
| |
|
inline |
◆ apply()
void CodeGenerator::Substitutions::apply |
( |
std::string & |
code | ) |
const |
|
inline |
◆ getVarSubstitution()
const std::string& CodeGenerator::Substitutions::getVarSubstitution |
( |
const std::string & |
source | ) |
const |
|
inline |
◆ hasVarSubstitution()
bool CodeGenerator::Substitutions::hasVarSubstitution |
( |
const std::string & |
source | ) |
const |
|
inline |
◆ operator[]()
const std::string CodeGenerator::Substitutions::operator[] |
( |
const std::string & |
source | ) |
const |
|
inline |
The documentation for this class was generated from the following file: