/* 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/tokenmatch.h> #include <boost/lexical_cast.hpp> namespace Wccl { std::string TokenMatch::to_raw_string() const { return "TOK[" + boost::lexical_cast<std::string>(abs_pos_) + "]"; } } /* end ns Wccl */