OpenXLSX 1.9.1
Loading...
Searching...
No Matches
OpenXLSX::XLToken Struct Reference

A single lexical token from a formula string. More...

#include <XLFormulaEngine.hpp>

Data Fields

XLTokenKind kind {XLTokenKind::Error}
 
std::string text
 Raw text of the token (number string, identifier, …)
 
double number {0.0}
 Pre-parsed numeric value when kind == Number.
 
bool boolean {false}
 Pre-parsed bool when kind == Bool.
 

Detailed Description

A single lexical token from a formula string.

Field Documentation

◆ boolean

bool OpenXLSX::XLToken::boolean {false}

Pre-parsed bool when kind == Bool.

◆ kind

XLTokenKind OpenXLSX::XLToken::kind {XLTokenKind::Error}

◆ number

double OpenXLSX::XLToken::number {0.0}

Pre-parsed numeric value when kind == Number.

◆ text

std::string OpenXLSX::XLToken::text

Raw text of the token (number string, identifier, …)


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