Project
Loading...
Searching...
No Matches
o2::framework::expressions::Tokenizer Struct Reference

#include <Expressions.h>

Public Member Functions

 Tokenizer (std::string const &input="")
 String parsing.
 
void reset (std::string const &input)
 
int nextToken ()
 
void pop ()
 
char peek ()
 

Public Attributes

std::string source
 
std::string::iterator current
 
std::string IdentifierStr
 
std::string BinaryOpStr
 
std::string StrValue
 
std::string TokenStr
 
std::variant< uint32_t, int32_t, uint64_t, int64_t > IntegerValue
 
std::variant< float, double > FloatValue
 
char LastChar
 
int currentToken = Token::Unexpected
 

Detailed Description

Definition at line 733 of file Expressions.h.

Constructor & Destructor Documentation

◆ Tokenizer()

o2::framework::expressions::Tokenizer::Tokenizer ( std::string const &  input = "")

String parsing.

Definition at line 807 of file Expressions.cxx.

Member Function Documentation

◆ nextToken()

int o2::framework::expressions::Tokenizer::nextToken ( )

Definition at line 836 of file Expressions.cxx.

◆ peek()

char o2::framework::expressions::Tokenizer::peek ( )

Definition at line 1025 of file Expressions.cxx.

◆ pop()

void o2::framework::expressions::Tokenizer::pop ( )

Definition at line 1015 of file Expressions.cxx.

◆ reset()

void o2::framework::expressions::Tokenizer::reset ( std::string const &  input)

Definition at line 821 of file Expressions.cxx.

Member Data Documentation

◆ BinaryOpStr

std::string o2::framework::expressions::Tokenizer::BinaryOpStr

Definition at line 737 of file Expressions.h.

◆ current

std::string::iterator o2::framework::expressions::Tokenizer::current

Definition at line 735 of file Expressions.h.

◆ currentToken

int o2::framework::expressions::Tokenizer::currentToken = Token::Unexpected

Definition at line 743 of file Expressions.h.

◆ FloatValue

std::variant<float, double> o2::framework::expressions::Tokenizer::FloatValue

Definition at line 741 of file Expressions.h.

◆ IdentifierStr

std::string o2::framework::expressions::Tokenizer::IdentifierStr

Definition at line 736 of file Expressions.h.

◆ IntegerValue

std::variant<uint32_t, int32_t, uint64_t, int64_t> o2::framework::expressions::Tokenizer::IntegerValue

Definition at line 740 of file Expressions.h.

◆ LastChar

char o2::framework::expressions::Tokenizer::LastChar

Definition at line 742 of file Expressions.h.

◆ source

std::string o2::framework::expressions::Tokenizer::source

Definition at line 734 of file Expressions.h.

◆ StrValue

std::string o2::framework::expressions::Tokenizer::StrValue

Definition at line 738 of file Expressions.h.

◆ TokenStr

std::string o2::framework::expressions::Tokenizer::TokenStr

Definition at line 739 of file Expressions.h.


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