Lexème reconnu par la classe IStream.
More...
#include "iomisc.h"
Lexème reconnu par la classe IStream.
◆ Lexeme() [1/4]
| cogitant::IStream::Lexeme::Lexeme |
( |
| ) |
|
|
inline |
◆ Lexeme() [2/4]
Constructeur à partir d'un type de lexème.
◆ Lexeme() [3/4]
| cogitant::IStream::Lexeme::Lexeme |
( |
LexemeType |
t, |
|
|
std::string const & |
s |
|
) |
| |
|
inline |
Constructeur à partir d'une chaîne.
◆ Lexeme() [4/4]
| cogitant::IStream::Lexeme::Lexeme |
( |
LexemeType |
t, |
|
|
wchar_t |
c |
|
) |
| |
|
inlineexplicit |
Constructeur à partir d'un caractère spécial.
◆ isSpecialChar()
| bool cogitant::IStream::Lexeme::isSpecialChar |
( |
wchar_t |
c | ) |
const |
|
inline |
Raccourci pour test de type de Lexeme = LEX_SPECIALCHAR et comparaison du caractère spécial.
◆ setSpecialChar()
| void cogitant::IStream::Lexeme::setSpecialChar |
( |
wchar_t |
c | ) |
|
|
inline |
Modification du type : LEX_SPECIALCHAR.
◆ setString()
| void cogitant::IStream::Lexeme::setString |
( |
std::string const & |
s | ) |
|
|
inline |
Modification du type : LEX_STRING.
◆ setType()
| void cogitant::IStream::Lexeme::setType |
( |
LexemeType |
t | ) |
|
|
inline |
◆ specialChar()
| wchar_t cogitant::IStream::Lexeme::specialChar |
( |
| ) |
const |
|
inline |
◆ string() [1/2]
| std::string const& cogitant::IStream::Lexeme::string |
( |
| ) |
const |
|
inline |
◆ string() [2/2]
| std::string& cogitant::IStream::Lexeme::string |
( |
| ) |
|
|
inline |
◆ type()
| LexemeType cogitant::IStream::Lexeme::type |
( |
| ) |
const |
|
inline |