IOSS 2.0
Loading...
Searching...
No Matches
Ioss::glob::Lexer< charT > Class Template Reference

#include <Ioss_Glob.h>

Public Member Functions

 Lexer (const String< charT > &str)
std::vector< Token< charT > > Scanner ()

Static Public Attributes

static const char kEndOfInput = -1

Private Member Functions

Token< charT > Select (TokenKind k)
Token< charT > Select (TokenKind k, charT value)
void Advance ()

Private Attributes

String< charT > str_
size_t pos_ {0}
charT c_

Constructor & Destructor Documentation

◆ Lexer()

template<class charT>
Ioss::glob::Lexer< charT >::Lexer ( const String< charT > & str)
inlineexplicit

Member Function Documentation

◆ Advance()

template<class charT>
void Ioss::glob::Lexer< charT >::Advance ( )
inlineprivate

◆ Scanner()

template<class charT>
std::vector< Token< charT > > Ioss::glob::Lexer< charT >::Scanner ( )
inline

◆ Select() [1/2]

template<class charT>
Token< charT > Ioss::glob::Lexer< charT >::Select ( TokenKind k)
inlineprivate

◆ Select() [2/2]

template<class charT>
Token< charT > Ioss::glob::Lexer< charT >::Select ( TokenKind k,
charT value )
inlineprivate

Member Data Documentation

◆ c_

template<class charT>
charT Ioss::glob::Lexer< charT >::c_
private

◆ kEndOfInput

template<class charT>
const char Ioss::glob::Lexer< charT >::kEndOfInput = -1
static

◆ pos_

template<class charT>
size_t Ioss::glob::Lexer< charT >::pos_ {0}
private

◆ str_

template<class charT>
String<charT> Ioss::glob::Lexer< charT >::str_
private

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