top | up | prev | next

CloneContext Class

Definition at line 16 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 11 of Clone.cpp :
11 : instantiateFunctionNode(false)instantiateClassNode(false)makeTestUnits(false)
12 {
13 }


Declaration at line 19 of Clone.hpp


Member Function Details

AddUnitTestFunction Member Function

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

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


Declaration at line 27 of Clone.hpp

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


InstantiateClassNode Member Function

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

Definition at line 24 of Clone.hpp :
24 { 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 22 of Clone.hpp :
22 { return instantiateFunctionNode; }

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


MakeTestUnits Member Function

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

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

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


SetInstantiateClassNode Member Function

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

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


SetInstantiateFunctionNode Member Function

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

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


SetMakeTestUnits Member Function

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

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


UnitTestFunctions Member Function

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

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


Declaration at line 28 of Clone.hpp


top | up | prev | next