LToken Struct

#include <Layers/llexer.h>

Public Members

std::string text
LTokenType type
size_t line

Detailed Description

A token is a character or set of characters (text) that represents a lexical component (identified by type) at a particular location (line) in a larger text amongst other tokens.

Member Variable Documentation

std::string text

Text composing the token

LTokenType type

What type of token

size_t line

Which line contains the token

Appearance
Theme
—