Tensorium
Loading...
Searching...
No Matches
Token Struct Reference

#include <Latex.hpp>

Collaboration diagram for Token:

Public Member Functions

 Token (TokenType t, const std::string &val)
 
 Token (TokenType t, GreekSymbolminus g, GreekSymbolplus G, const std::string &val)
 

Public Attributes

TokenType type
 
GreekSymbolminus greek_minus = GreekSymbolminus::alpha
 
GreekSymbolplus greek_plus = GreekSymbolplus::Alpha
 
std::string value
 

Constructor & Destructor Documentation

◆ Token() [1/2]

Token::Token ( TokenType t,
const std::string & val )
inline

◆ Token() [2/2]

Token::Token ( TokenType t,
GreekSymbolminus g,
GreekSymbolplus G,
const std::string & val )
inline

Member Data Documentation

◆ greek_minus

◆ greek_plus

◆ type

TokenType Token::type

◆ value

std::string Token::value

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