<commit_before>#include "gt/gtl/inner_common.hpp"

namespace GT {
namespace GTL {

//////////////////////////////////////////////////////////////////////////////////////////////////////////////

// class ExecutionDriver : public Driver {
// public:

ExecutionDriver::ExecutionDriver(
    std::ostream* newOutputStream,
    std::ostream* newErrorStream
) :
    checkingDriver(newErrorStream),
    context(new Context()),
    outputStream(newOutputStream),
    coordinate(this),
    condition(this),
    game(this, context),
    value(this),
    statement(this, context)
    {}

CoordinateDriver& ExecutionDriver::forCoordinate() {
    return coordinate;
}

CollectionsDriver<Coordinate>& ExecutionDriver::forCoordinates() {
    return coordinates;
}

ConditionDriver& ExecutionDriver::forCondition() {
    return condition;
}

CollectionsDriver<Condition>& ExecutionDriver::forConditions() {
    return conditions;
}

GameDriver& ExecutionDriver::forGame() {
    return game;
}

CollectionsDriver<Identifier>& ExecutionDriver::forIdentifiers() {
    return identifiers;
}

CollectionsDriver<Object>& ExecutionDriver::forObjects() {
    return objects;
}

CollectionsDriver<Param>& ExecutionDriver::forParams() {
    return params;
}

ValueDriver& ExecutionDriver::forValue() {
    return value;
}

StatementDriver& ExecutionDriver::forStatement() {
    return statement;
}

void ExecutionDriver::showResult(
    ResultPtr result
) {
    if (outputStream)
        (*outputStream) << result->getResult();
}

void ExecutionDriver::showError(
    InputLocation& location,
    const Message& message
) {
    checkingDriver.showError(location, message);
}

void ExecutionDriver::showError(
    ValidableSymbol& symbol
) {
    checkingDriver.showError(symbol);
}

Message ExecutionDriver::toString() {
    return Message("ExecutionDriver");
}

// }; /* END class ExecutionDriver */

//////////////////////////////////////////////////////////////////////////////////////////////////////////////

} /* END namespace GTL */
} /* END namespace GT */
<commit_msg>* Fixed warning in GTL.<commit_after>#include "gt/gtl/inner_common.hpp"

namespace GT {
namespace GTL {

//////////////////////////////////////////////////////////////////////////////////////////////////////////////

// class ExecutionDriver : public Driver {
// public:

ExecutionDriver::ExecutionDriver(
    std::ostream* newOutputStream,
    std::ostream* newErrorStream
) :
    checkingDriver(newErrorStream),
    context(new Context()),
    coordinate(this),
    condition(this),
    game(this, context),
    value(this),
    statement(this, context),
    outputStream(newOutputStream)
    {}

CoordinateDriver& ExecutionDriver::forCoordinate() {
    return coordinate;
}

CollectionsDriver<Coordinate>& ExecutionDriver::forCoordinates() {
    return coordinates;
}

ConditionDriver& ExecutionDriver::forCondition() {
    return condition;
}

CollectionsDriver<Condition>& ExecutionDriver::forConditions() {
    return conditions;
}

GameDriver& ExecutionDriver::forGame() {
    return game;
}

CollectionsDriver<Identifier>& ExecutionDriver::forIdentifiers() {
    return identifiers;
}

CollectionsDriver<Object>& ExecutionDriver::forObjects() {
    return objects;
}

CollectionsDriver<Param>& ExecutionDriver::forParams() {
    return params;
}

ValueDriver& ExecutionDriver::forValue() {
    return value;
}

StatementDriver& ExecutionDriver::forStatement() {
    return statement;
}

void ExecutionDriver::showResult(
    ResultPtr result
) {
    if (outputStream)
        (*outputStream) << result->getResult();
}

void ExecutionDriver::showError(
    InputLocation& location,
    const Message& message
) {
    checkingDriver.showError(location, message);
}

void ExecutionDriver::showError(
    ValidableSymbol& symbol
) {
    checkingDriver.showError(symbol);
}

Message ExecutionDriver::toString() {
    return Message("ExecutionDriver");
}

// }; /* END class ExecutionDriver */

//////////////////////////////////////////////////////////////////////////////////////////////////////////////

} /* END namespace GTL */
} /* END namespace GT */

{'fraction_non_alphanumeric': 0.21508515815085158, 'fraction_numerical': 0.0, 'mean_word_length': 2.799445471349353, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 15, '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': '5263516', 'n_tokens_mistral': 1045, 'n_tokens_neox': 1041, 'n_words': 208}