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

Represents a token location. More...

#include <loc.h>

Data Fields

STR filename
 The file where the token is from.
 
usize line
 The line number where the token is found.
 
usize col
 The column number where the token starts.
 
usize pos
 The token's position in the text.
 

Detailed Description

Represents a token location.

Definition at line 16 of file loc.h.

Field Documentation

◆ col

usize ps_loc::col

The column number where the token starts.

Definition at line 19 of file loc.h.

◆ filename

STR ps_loc::filename

The file where the token is from.

Definition at line 17 of file loc.h.

◆ line

usize ps_loc::line

The line number where the token is found.

Definition at line 18 of file loc.h.

◆ pos

usize ps_loc::pos

The token's position in the text.

Definition at line 20 of file loc.h.


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