Skip to content
Snippets Groups Projects
Select Git revision
  • 85ec635b4bd6980ccfd6580ead46041751e22251
  • master default protected
  • fix-words-ann
  • wccl-rules-migration
  • develop
5 results

expression.h

Blame
  • 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 */