polserver/pol-core/bscript/tokens.cpp
turley 189cad3479 Formating everything
Authors are not forced to use the clang-format setting, but should
atleast be inspired by the style.
The only thing which is now not allowed are tabs for ident/alignment!
2016-02-19 19:26:35 +01:00

33 lines
488 B
C++

/** @file
*
* @par History
* - 2015/12/29 Bodom: created this file
*/
#include "tokens.h"
namespace Pol
{
namespace Clib
{
/**
* Template specialization for outputting the token type
*/
template <>
std::string tostring( const Bscript::BTokenType& v )
{
return tostring( static_cast<int>( v ) );
}
/**
* Template specialization for outputting the token ID
*/
template <>
std::string tostring( const Bscript::BTokenId& v )
{
return tostring( static_cast<int>( v ) );
}
}
}