template class axl::lex::RagelToken

#include <axl_lex_RagelLexer.h>

template <
    typename Enum,
    typename GetName,
    typename Data = StdTokenData
    >
class RagelToken: public axl::lex::Token
{
public:
    // methods

    sl::StringRef
    getText() const;

    template <typename IsSpaceNeeded>
    static
    sl::String
    getTokenListString(
        const sl::BoxList<RagelToken>& list,
        const IsSpaceNeeded& isSpaceNeeded
        );

    static
    sl::String
    getTokenListString(const sl::BoxList<RagelToken>& list);
};

Inherited Members

public:
    // typedefs

    typedef TokenKind0 TokenKind;
    typedef Name0 Name;
    typedef Data0 Data;
    typedef Pos0 Pos;

    // fields

    union
    {
        int m_token;
        TokenKind m_tokenKind;
        char m_charToken;
        wchar_t m_WCharToken;
    };

    uint_t m_channelMask;
    uint_t m_flags;
    Data m_data;
    Pos m_pos;

    // methods

    const char*
    getName() const;

    static
    const char*
    getName(int token);