libpulsar
A modular compiler for the pulsar programming language
Loading...
Searching...
No Matches
Data Fields
ps_token Struct Reference

Represents a token. More...

#include <token.h>

Data Fields

struct ps_loc loc
 
enum ps_token_type type
 
STR start
 
usize length
 

Detailed Description

Represents a token.

Definition at line 34 of file token.h.

Field Documentation

◆ length

usize ps_token::length

Definition at line 38 of file token.h.

◆ loc

struct ps_loc ps_token::loc

Definition at line 35 of file token.h.

◆ start

STR ps_token::start

Definition at line 37 of file token.h.

◆ type

enum ps_token_type ps_token::type

Definition at line 36 of file token.h.


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