repr 0.1
Reconstructable string representations and more
Loading...
Searching...
No Matches
librepr::detail::msvc::SymLexer Struct Reference

#include <denoise.h>

Inheritance diagram for librepr::detail::msvc::SymLexer:
[legend]
Collaboration diagram for librepr::detail::msvc::SymLexer:
[legend]

Protected Member Functions

 SymLexer (std::string_view sym)
 
SymToken next () noexcept
 
LIBREPR_HINT_INLINE SymToken current () const noexcept
 
LIBREPR_HINT_INLINE SymToken last () const noexcept
 
LIBREPR_HINT_INLINE char current_first () const noexcept
 
LIBREPR_HINT_INLINE char last_first () const noexcept
 
char peek_first () const noexcept
 
LIBREPR_HINT_INLINE void write (SymToken tok)
 
std::string_view to_sv (SymToken tok) const
 

Static Protected Member Functions

static LIBREPR_HINT_INLINE bool isWord (char c)
 
static LIBREPR_HINT_INLINE bool isQualifiedName (char c)
 

Protected Attributes

SymBuffer buf
 
ihalfptr_t nest_depth = 0
 

Constructor & Destructor Documentation

◆ SymLexer()

librepr::detail::msvc::SymLexer::SymLexer ( std::string_view  sym)
inlineprotected

Member Function Documentation

◆ current()

LIBREPR_HINT_INLINE SymToken librepr::detail::msvc::SymLexer::current ( ) const
inlineprotectednoexcept

◆ current_first()

LIBREPR_HINT_INLINE char librepr::detail::msvc::SymLexer::current_first ( ) const
inlineprotectednoexcept

◆ isQualifiedName()

static LIBREPR_HINT_INLINE bool librepr::detail::msvc::SymLexer::isQualifiedName ( char  c)
inlinestaticprotected

◆ isWord()

static LIBREPR_HINT_INLINE bool librepr::detail::msvc::SymLexer::isWord ( char  c)
inlinestaticprotected

◆ last()

LIBREPR_HINT_INLINE SymToken librepr::detail::msvc::SymLexer::last ( ) const
inlineprotectednoexcept

◆ last_first()

LIBREPR_HINT_INLINE char librepr::detail::msvc::SymLexer::last_first ( ) const
inlineprotectednoexcept

◆ next()

SymToken librepr::detail::msvc::SymLexer::next ( )
inlineprotectednoexcept

◆ peek_first()

char librepr::detail::msvc::SymLexer::peek_first ( ) const
inlineprotectednoexcept

◆ to_sv()

std::string_view librepr::detail::msvc::SymLexer::to_sv ( SymToken  tok) const
inlineprotected

◆ write()

LIBREPR_HINT_INLINE void librepr::detail::msvc::SymLexer::write ( SymToken  tok)
inlineprotected

Member Data Documentation

◆ buf

SymBuffer librepr::detail::msvc::SymLexer::buf
protected

◆ nest_depth

ihalfptr_t librepr::detail::msvc::SymLexer::nest_depth = 0
protected

The documentation for this struct was generated from the following file: