Skip to content
Snippets Groups Projects
Commit 02eefa57 authored by Jan Trávníček's avatar Jan Trávníček
Browse files

unit build string alphabet

parent c054c129
No related branches found
No related tags found
No related merge requests found
Showing
with 84 additions and 16 deletions
#include "BarSymbol.cxx"
#include "BlankSymbol.cxx"
#include "BottomOfTheStackSymbol.cxx"
#include "EndSymbol.cxx"
#include "InitialSymbol.cxx"
#include "NonlinearVariableSymbol.cxx"
#include "RankedSymbol.cxx"
#include "StartSymbol.cxx"
#include "SymbolOrEpsilon.cxx"
#include "VariablesBarSymbol.cxx"
#include "WildcardSymbol.cxx"
......@@ -29,8 +29,8 @@ void stringApi < alphabet::BarSymbol >::compose ( std::ostream & output, const a
 
namespace {
 
auto stringWrite = registration::StringWriterRegister < alphabet::BarSymbol > ( );
auto stringWriteBarSymbol = registration::StringWriterRegister < alphabet::BarSymbol > ( );
 
auto stringWriteGroup = registration::StringWriterRegisterTypeInGroup < object::Object, alphabet::BarSymbol > ( );
auto stringWriteGroupBarSymbol = registration::StringWriterRegisterTypeInGroup < object::Object, alphabet::BarSymbol > ( );
 
} /* namespace */
......@@ -29,8 +29,8 @@ void stringApi < alphabet::BlankSymbol >::compose ( std::ostream & output, const
 
namespace {
 
auto stringWrite = registration::StringWriterRegister < alphabet::BlankSymbol > ( );
auto stringWriteBlankSymbol = registration::StringWriterRegister < alphabet::BlankSymbol > ( );
 
auto stringWriteGroup = registration::StringWriterRegisterTypeInGroup < object::Object, alphabet::BlankSymbol > ( );
auto stringWriteGroupBlankSymbol = registration::StringWriterRegisterTypeInGroup < object::Object, alphabet::BlankSymbol > ( );
 
} /* namespace */
......@@ -29,8 +29,8 @@ void stringApi < alphabet::BottomOfTheStackSymbol >::compose ( std::ostream & ou
 
namespace {
 
auto stringWrite = registration::StringWriterRegister < alphabet::BottomOfTheStackSymbol > ( );
auto stringWriteBottomOfTheStackSymbol = registration::StringWriterRegister < alphabet::BottomOfTheStackSymbol > ( );
 
auto stringWriteGroup = registration::StringWriterRegisterTypeInGroup < object::Object, alphabet::BottomOfTheStackSymbol > ( );
auto stringWriteGroupBottomOfTheStackSymbol = registration::StringWriterRegisterTypeInGroup < object::Object, alphabet::BottomOfTheStackSymbol > ( );
 
} /* namespace */
......@@ -29,8 +29,8 @@ void stringApi < alphabet::EndSymbol >::compose ( std::ostream & output, const a
 
namespace {
 
auto stringWrite = registration::StringWriterRegister < alphabet::EndSymbol > ( );
auto stringWriteEndSymbol = registration::StringWriterRegister < alphabet::EndSymbol > ( );
 
auto stringWriteGroup = registration::StringWriterRegisterTypeInGroup < object::Object, alphabet::EndSymbol > ( );
auto stringWriteGroupEndSymbol = registration::StringWriterRegisterTypeInGroup < object::Object, alphabet::EndSymbol > ( );
 
} /* namespace */
......@@ -29,8 +29,8 @@ void stringApi < alphabet::InitialSymbol >::compose ( std::ostream & output, con
 
namespace {
 
auto stringWrite = registration::StringWriterRegister < alphabet::InitialSymbol > ( );
auto stringWriteInitialSymbol = registration::StringWriterRegister < alphabet::InitialSymbol > ( );
 
auto stringWriteGroup = registration::StringWriterRegisterTypeInGroup < object::Object, alphabet::InitialSymbol > ( );
auto stringWriteGroupInitialSymbol = registration::StringWriterRegisterTypeInGroup < object::Object, alphabet::InitialSymbol > ( );
 
} /* namespace */
......@@ -12,8 +12,8 @@
 
namespace {
 
auto stringWrite = registration::StringWriterRegister < alphabet::NonlinearVariableSymbol < > > ( );
auto stringWriteNonlinearVariableSymbol = registration::StringWriterRegister < alphabet::NonlinearVariableSymbol < > > ( );
 
auto stringWriteGroup = registration::StringWriterRegisterTypeInGroup < object::Object, alphabet::NonlinearVariableSymbol < > > ( );
auto stringWriteGroupNonlinearVariableSymbol = registration::StringWriterRegisterTypeInGroup < object::Object, alphabet::NonlinearVariableSymbol < > > ( );
 
} /* namespace */
......@@ -12,8 +12,8 @@
 
namespace {
 
auto stringWrite = registration::StringWriterRegister < common::ranked_symbol < > > ( );
auto stringWriteRankedSymbol = registration::StringWriterRegister < common::ranked_symbol < > > ( );
 
auto stringWriteGroup = registration::StringWriterRegisterTypeInGroup < object::Object, common::ranked_symbol < > > ( );
auto stringWriteGroupRankedSymbol = registration::StringWriterRegisterTypeInGroup < object::Object, common::ranked_symbol < > > ( );
 
} /* namespace */
......@@ -29,8 +29,8 @@ void stringApi < alphabet::StartSymbol >::compose ( std::ostream & output, const
 
namespace {
 
auto stringWrite = registration::StringWriterRegister < alphabet::StartSymbol > ( );
auto stringWriteStartSymbol = registration::StringWriterRegister < alphabet::StartSymbol > ( );
 
auto stringWriteGroup = registration::StringWriterRegisterTypeInGroup < object::Object, alphabet::StartSymbol > ( );
auto stringWriteGroupStartSymbol = registration::StringWriterRegisterTypeInGroup < object::Object, alphabet::StartSymbol > ( );
 
} /* namespace */
......@@ -12,8 +12,8 @@
 
namespace {
 
auto stringWrite = registration::StringWriterRegister < common::symbol_or_epsilon < > > ( );
auto stringWriteSymbolOrEpsilon = registration::StringWriterRegister < common::symbol_or_epsilon < > > ( );
 
auto stringWriteGroup = registration::StringWriterRegisterTypeInGroup < object::Object, common::symbol_or_epsilon < > > ( );
auto stringWriteGroupSymbolOrEpsilon = registration::StringWriterRegisterTypeInGroup < object::Object, common::symbol_or_epsilon < > > ( );
 
} /* namespace */
......@@ -29,8 +29,8 @@ void stringApi < alphabet::VariablesBarSymbol >::compose ( std::ostream & output
 
namespace {
 
auto stringWrite = registration::StringWriterRegister < alphabet::VariablesBarSymbol > ( );
auto stringWriteVariablesBarSymbol = registration::StringWriterRegister < alphabet::VariablesBarSymbol > ( );
 
auto stringWriteGroup = registration::StringWriterRegisterTypeInGroup < object::Object, alphabet::VariablesBarSymbol > ( );
auto stringWriteGroupVariablesBarSymbol = registration::StringWriterRegisterTypeInGroup < object::Object, alphabet::VariablesBarSymbol > ( );
 
} /* namespace */
......@@ -29,8 +29,8 @@ void stringApi < alphabet::WildcardSymbol >::compose ( std::ostream & output, co
 
namespace {
 
auto stringWrite = registration::StringWriterRegister < alphabet::WildcardSymbol > ( );
auto stringWriteWildcardSymbol = registration::StringWriterRegister < alphabet::WildcardSymbol > ( );
 
auto stringWriteGroup = registration::StringWriterRegisterTypeInGroup < object::Object, alphabet::WildcardSymbol > ( );
auto stringWriteGroupWildcardSymbol = registration::StringWriterRegisterTypeInGroup < object::Object, alphabet::WildcardSymbol > ( );
 
} /* namespace */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment