Select Git revision
expression.h
match.cpp 899 B
/*
Copyright (C) 2011 Adam Wardyński, Tomasz Śniatowski, Paweł Kędzia,
Adam Radziszewski, Bartosz Broda
Part of the WCCL project
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the Free
Software Foundation; either version 3 of the License, or (at your option)
any later version.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE.
See the LICENSE and COPYING files for more details.
*/
#include <libwccl/values/match.h>
#include <sstream>
namespace Wccl {
const char* Match::type_name = "Match";
std::string Match::var_repr(const std::string &var_name)
{
std::stringstream ss;
ss << "$m:" << var_name;
return ss.str();
}
} /* end ns Wccl */