EMath++
Classes for mathematical concepts
Loading...
Searching...
No Matches
efc::Token Struct Reference

Struct for representing a token as a type and a value. More...

Public Attributes

const TokenType type
 The token's type as a TokenType.
 
union {
   char   c
 
   int   n
 
value
 A union representing the value of the Token as a char or as a int.
 

Detailed Description

Struct for representing a token as a type and a value.

Definition at line 674 of file interface.cpp.

Member Data Documentation

◆ c

char efc::Token::c

Definition at line 682 of file interface.cpp.

◆ n

int efc::Token::n

Definition at line 682 of file interface.cpp.

◆ type

const TokenType efc::Token::type

The token's type as a TokenType.

Definition at line 678 of file interface.cpp.


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