Token structure.
More...
#include <token.hpp>
|
| | Token (TokenType t, std::string v, uint32_t l, uint32_t c, std::string fn) |
| std::string | to_str () |
| | Method for converting token to string.
|
Token structure.
Definition at line 92 of file token.hpp.
◆ Token()
| Token::Token |
( |
TokenType | t, |
|
|
std::string | v, |
|
|
uint32_t | l, |
|
|
uint32_t | c, |
|
|
std::string | fn ) |
|
inline |
◆ to_str()
| std::string Token::to_str |
( |
| ) |
|
|
inline |
Method for converting token to string.
This method converting token structure to string. If type of token is unsupported
- Returns
- String as converted token
Definition at line 109 of file token.hpp.
◆ column
◆ file_name
| std::string Token::file_name |
Name of the file containing the token
Definition at line 98 of file token.hpp.
◆ line
◆ type
◆ value
The documentation for this struct was generated from the following file:
- /mnt/disk_ext4_0/topazlang/include/lexer/token.hpp