top | up | prev | next

CloneContext Class

Definition at line 20 of Clone.hpp

Constructors

CloneContext()

Member Functions

void AddUnitTestFunction(FunctionNode* unitTestFunction)
bool InstantiateClassNode() const
bool InstantiateFunctionNode() const
bool MakeTestUnits() const
void SetInstantiateClassNode()
void SetInstantiateFunctionNode()
void SetMakeTestUnits()
std::vector<FunctionNode*>& UnitTestFunctions()

Member Variables

bool instantiateClassNode
bool instantiateFunctionNode
bool makeTestUnits
std::vector<FunctionNode*> unitTestFunctions

Constructor Details

CloneContext Constructor

sngcm::ast::CloneContext::CloneContext()

Definition at line 12 of Clone.cpp :
12 : instantiateFunctionNode(false)instantiateClassNode(false)makeTestUnits(false)
13 {
14 }


Declaration at line 23 of Clone.hpp


Member Function Details

AddUnitTestFunction Member Function

void sngcm::ast::CloneContext::AddUnitTestFunction(FunctionNode * unitTestFunction)

Definition at line 24 of Clone.cpp :
25 {
26     unitTestFunctions.push_back(unitTestFunction);
27 }


Declaration at line 31 of Clone.hpp

Called by: sngcm::ast::NamespaceNode::Clone


InstantiateClassNode Member Function

bool sngcm::ast::CloneContext::InstantiateClassNode() const

Definition at line 28 of Clone.hpp :
28 { return instantiateClassNode; }

Called by: sngcm::ast::ClassNode::Clone , sngcm::ast::FunctionNode::Clone , sngcm::ast::FunctionNode::CloneContent


InstantiateFunctionNode Member Function

bool sngcm::ast::CloneContext::InstantiateFunctionNode() const

Definition at line 26 of Clone.hpp :
26 { return instantiateFunctionNode; }

Called by: sngcm::ast::FunctionNode::Clone


MakeTestUnits Member Function

bool sngcm::ast::CloneContext::MakeTestUnits() const

Definition at line 30 of Clone.hpp :
30 { return makeTestUnits; }

Called by: sngcm::ast::NamespaceNode::Clone


SetInstantiateClassNode Member Function

void sngcm::ast::CloneContext::SetInstantiateClassNode()

Definition at line 27 of Clone.hpp :
27 { instantiateClassNode = true; }


SetInstantiateFunctionNode Member Function

void sngcm::ast::CloneContext::SetInstantiateFunctionNode()

Definition at line 25 of Clone.hpp :
25 { instantiateFunctionNode = true; }


SetMakeTestUnits Member Function

void sngcm::ast::CloneContext::SetMakeTestUnits()

Definition at line 29 of Clone.hpp :
29 { makeTestUnits = true; }


UnitTestFunctions Member Function

std::vector<FunctionNode *>& sngcm::ast::CloneContext::UnitTestFunctions()

Definition at line 29 of Clone.cpp :
30 {
31     return unitTestFunctions;
32 }


Declaration at line 32 of Clone.hpp


top | up | prev | next