Chatterino
Public Member Functions | Static Public Member Functions | List of all members
filterparser::Tokenizer Class Reference

#include <Tokenizer.hpp>

Public Member Functions

 Tokenizer (const QString &text)
 
bool hasNext () const
 
QString next ()
 
QString current () const
 
QString preview () const
 
TokenType nextTokenType () const
 
TokenType tokenType () const
 
bool nextTokenIsOp () const
 
bool nextTokenIsBinaryOp () const
 
bool nextTokenIsUnaryOp () const
 
bool nextTokenIsMathOp () const
 
void debug ()
 
const QStringList allTokens ()
 

Static Public Member Functions

static bool typeIsOp (TokenType token)
 
static bool typeIsBinaryOp (TokenType token)
 
static bool typeIsUnaryOp (TokenType token)
 
static bool typeIsMathOp (TokenType token)
 

Constructor & Destructor Documentation

◆ Tokenizer()

filterparser::Tokenizer::Tokenizer ( const QString &  text)

Member Function Documentation

◆ allTokens()

const QStringList filterparser::Tokenizer::allTokens ( )

◆ current()

QString filterparser::Tokenizer::current ( ) const
Here is the caller graph for this function:

◆ debug()

void filterparser::Tokenizer::debug ( )
Here is the call graph for this function:

◆ hasNext()

bool filterparser::Tokenizer::hasNext ( ) const
Here is the caller graph for this function:

◆ next()

QString filterparser::Tokenizer::next ( )
Here is the caller graph for this function:

◆ nextTokenIsBinaryOp()

bool filterparser::Tokenizer::nextTokenIsBinaryOp ( ) const
Here is the call graph for this function:
Here is the caller graph for this function:

◆ nextTokenIsMathOp()

bool filterparser::Tokenizer::nextTokenIsMathOp ( ) const
Here is the call graph for this function:
Here is the caller graph for this function:

◆ nextTokenIsOp()

bool filterparser::Tokenizer::nextTokenIsOp ( ) const
Here is the call graph for this function:
Here is the caller graph for this function:

◆ nextTokenIsUnaryOp()

bool filterparser::Tokenizer::nextTokenIsUnaryOp ( ) const
Here is the call graph for this function:
Here is the caller graph for this function:

◆ nextTokenType()

TokenType filterparser::Tokenizer::nextTokenType ( ) const
Here is the caller graph for this function:

◆ preview()

QString filterparser::Tokenizer::preview ( ) const
Here is the call graph for this function:
Here is the caller graph for this function:

◆ tokenType()

TokenType filterparser::Tokenizer::tokenType ( ) const
Here is the caller graph for this function:

◆ typeIsBinaryOp()

bool filterparser::Tokenizer::typeIsBinaryOp ( TokenType  token)
static
Here is the caller graph for this function:

◆ typeIsMathOp()

bool filterparser::Tokenizer::typeIsMathOp ( TokenType  token)
static
Here is the caller graph for this function:

◆ typeIsOp()

bool filterparser::Tokenizer::typeIsOp ( TokenType  token)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ typeIsUnaryOp()

bool filterparser::Tokenizer::typeIsUnaryOp ( TokenType  token)
static
Here is the caller graph for this function:

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