corelib/include/ebcl/inline/SRDParserConfig.hh

34 lines
1.1 KiB
C++
Raw Normal View History

/******************************************************************************/
/* SRD - PARSER CONFIGURATION - INLINE CODE ***********************************/
/******************************************************************************/
#ifndef _H_LW_LIB_INLINE_SRDPARSERCONFIG
#define _H_LW_LIB_INLINE_SRDPARSERCONFIG
#include <lw/lib/SRDParserConfig.hh>
namespace lw {
/*= 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
#endif // _H_LW_LIB_INLINE_SRDPARSERCONFIG