nk 1.0.0
C++ Numerical Computing Runtime
Loading...
Searching...
No Matches
nk::Token Struct Reference

Public Attributes

TokenType type = TokenType::END_OF_INPUT
std::string value
int line = 0
int col = 0

Detailed Description

Definition at line 81 of file lexer.hpp.

Member Data Documentation

◆ col

int nk::Token::col = 0

Definition at line 86 of file lexer.hpp.

◆ line

int nk::Token::line = 0

Definition at line 85 of file lexer.hpp.

◆ type

TokenType nk::Token::type = TokenType::END_OF_INPUT

Definition at line 83 of file lexer.hpp.

◆ value

std::string nk::Token::value

Definition at line 84 of file lexer.hpp.


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