KrkToken Struct Reference

A token from the scanner. More...

#include <scanner.h>

Data Fields

KrkTokenType type
 
const char * start
 
size_t length
 
size_t line
 
const char * linePtr
 
size_t col
 
size_t literalWidth
 

Detailed Description

A token from the scanner.

Represents a single scanned item from the scanner, such as a keyword, string literal, numeric literal, identifier, etc.

Definition at line 124 of file scanner.h.


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