<commit_before>/***********************************************************************************************************************
 * VBreakStatement.cpp
 *
 *  Created on: Feb 16, 2011
 *      Author: <NAME>
 **********************************************************************************************************************/

#include "statements/VBreakStatement.h"

#include "OOModel/headers/statements/BreakStatement.h"

using namespace Visualization;
using namespace OOModel;

namespace OOVisualization {

ITEM_COMMON_DEFINITIONS(VBreakStatement)

VBreakStatement::VBreakStatement(Item* parent, BreakStatement* node, const SymbolStyle* style) :
	ItemWithNode<Item, BreakStatement>(parent, node, style),
	vis_(new Symbol(this, style))
{
}

VBreakStatement::~VBreakStatement()
{
	SAFE_DELETE_ITEM(vis_);
}

void VBreakStatement::determineChildren()
{
	vis_->setStyle( style());
}

void VBreakStatement::updateGeometry(int availableWidth, int availableHeight)
{
	Item::updateGeometry(vis_, availableWidth, availableHeight);
}

bool VBreakStatement::focusChild(FocusTarget location)
{
	return vis_->focusChild(location);
}

}<commit_msg>CHANGED: Renamed the types of the constructor.<commit_after>/***********************************************************************************************************************
 * VBreakStatement.cpp
 *
 *  Created on: Feb 16, 2011
 *      Author: <NAME>
 **********************************************************************************************************************/

#include "statements/VBreakStatement.h"

#include "OOModel/headers/statements/BreakStatement.h"

using namespace Visualization;
using namespace OOModel;

namespace OOVisualization {

ITEM_COMMON_DEFINITIONS(VBreakStatement)

VBreakStatement::VBreakStatement(Item* parent, NodeType* node, const StyleType* style) :
	ItemWithNode<Item, BreakStatement>(parent, node, style),
	vis_(new Symbol(this, style))
{
}

VBreakStatement::~VBreakStatement()
{
	SAFE_DELETE_ITEM(vis_);
}

void VBreakStatement::determineChildren()
{
	vis_->setStyle( style());
}

void VBreakStatement::updateGeometry(int availableWidth, int availableHeight)
{
	Item::updateGeometry(vis_, availableWidth, availableHeight);
}

bool VBreakStatement::focusChild(FocusTarget location)
{
	return vis_->focusChild(location);
}

}
{'fraction_non_alphanumeric': 0.29693569270608544, 'fraction_numerical': 0.005179110919292188, 'mean_word_length': 9.078260869565218, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3012093', 'n_tokens_mistral': 621, 'n_tokens_neox': 593, 'n_words': 116}