Webserv
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes
Tokenizer Class Reference

#include <Token.hpp>

Public Member Functions

 Tokenizer (string fileName)
 
bool hasMoreTokens ()
 
char getWithoutWhiteSpace ()
 
void rollBackToken ()
 
Token getToken ()
 

Private Attributes

std::fstream file
 
size_t prevPos
 

Detailed Description

Definition at line 22 of file Token.hpp.

Constructor & Destructor Documentation

◆ Tokenizer()

Tokenizer::Tokenizer ( string  fileName)

Definition at line 3 of file Token.cpp.

Member Function Documentation

◆ getToken()

Token Tokenizer::getToken ( )

Definition at line 31 of file Token.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getWithoutWhiteSpace()

char Tokenizer::getWithoutWhiteSpace ( )

Definition at line 11 of file Token.cpp.

Here is the caller graph for this function:

◆ hasMoreTokens()

bool Tokenizer::hasMoreTokens ( )

Definition at line 9 of file Token.cpp.

Here is the caller graph for this function:

◆ rollBackToken()

void Tokenizer::rollBackToken ( )

Definition at line 26 of file Token.cpp.

Here is the caller graph for this function:

Field Documentation

◆ file

std::fstream Tokenizer::file
private

Definition at line 23 of file Token.hpp.

◆ prevPos

size_t Tokenizer::prevPos
private

Definition at line 24 of file Token.hpp.


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