bux API Reference 1.9.0
Static library of whatever are seen required in general purpose but not directly supported from Modern C++. Or whatever reusable originated from my side projects.
Loading...
Searching...
No Matches
LexBase.h File Reference
#include "XException.h"
#include <string>
#include <string_view>
#include <type_traits>
Include dependency graph for LexBase.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  bux::C_SourcePos
 
struct  bux::C_LexInfoT< T, C_Ptr >
 
struct  bux::C_RetLvalT< T, C_Ptr >
 
struct  bux::I_LexAttr
 
struct  bux::I_Parser
 
class  bux::C_Screener< F_Pred >
 
class  bux::C_ScreenerNo< IGNORED >
 
struct  bux::C_LexDataT< T_Data >
 Render any copyable "type" token attribute on the fly. More...
 
class  bux::C_IntegerLex
 

Namespaces

namespace  bux
 THE common namespace of bux library.
 

Typedefs

using bux::T_LexID = uint32_t
 

Enumerations

enum  : uint32_t { bux::TID_EOF = MIN_TOKEN_ID , bux::ROOT_NID , bux::TOKENGEN_LB }
 

Functions

bool bux::operator== (const C_SourcePos &a, const C_SourcePos &b) noexcept
 Equivalence relation.
 
bool bux::operator< (const C_SourcePos &a, const C_SourcePos &b) noexcept
 Partial relation.
 
std::string bux::asciiLiteral (uint32_t utf32)
 
std::string bux::asciiLiteral (std::string_view utf8)
 
void bux::addAsHex (std::string &dst, uint32_t ch32)
 
template<class T >
auto bux::createLex (const T &t)
 
template<class T >
auto bux::createLex (T &t)
 
template<class T , class... T_Args>
auto bux::createLex (T_Args &&...args)
 

Variables

constinit const uint32_t bux::MIN_TOKEN_ID = 0x70000000