2017-11-01 20:14:23 +01:00
|
|
|
/******************************************************************************/
|
|
|
|
/* SRD - PARSER CONFIGURATION - INLINE CODE ***********************************/
|
|
|
|
/******************************************************************************/
|
|
|
|
|
2017-11-01 23:21:01 +01:00
|
|
|
#ifndef _H_EBCL_INLINE_SRDPARSERCONFIG
|
|
|
|
#define _H_EBCL_INLINE_SRDPARSERCONFIG
|
|
|
|
#include <ebcl/SRDParserConfig.hh>
|
|
|
|
namespace ebcl {
|
2017-11-01 20:14:23 +01:00
|
|
|
|
|
|
|
|
|
|
|
/*= T_SRDTransition ==========================================================*/
|
|
|
|
|
|
|
|
inline T_SRDTransition::T_SRDTransition( E_SRDTokenType tokenType , uint32_t next )
|
|
|
|
: type( E_SRDTransitionType::TOKEN ) , tokenType( tokenType ) ,
|
|
|
|
next( next )
|
|
|
|
{ }
|
|
|
|
|
|
|
|
inline T_SRDTransition::T_SRDTransition( E_SRDTransitionType type , uint32_t index , uint32_t next )
|
|
|
|
: type( type ) , index( index ) , next( next )
|
|
|
|
{ }
|
|
|
|
|
|
|
|
|
|
|
|
/*= T_SRDParserConfig ========================================================*/
|
|
|
|
|
|
|
|
inline T_Optional< uint32_t > T_SRDParserConfig::enumValue(
|
|
|
|
char const* name , T_String const& member ) const noexcept
|
|
|
|
{
|
|
|
|
return enumValue( T_String::Pooled( name ) , member );
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
} // namespace
|
2017-11-01 23:21:01 +01:00
|
|
|
#endif // _H_EBCL_INLINE_SRDPARSERCONFIG
|