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

Processes tokens in a stream. More...

#include <tstream.h>

Data Fields

usize index
 inv: 0 < index <= tokens->length.
 
const struct ps_token_arr * tokens
 The tokens in the stream.
 
const struct ps_file_ctxfile_ctx
 The file context for the stream.
 

Detailed Description

Processes tokens in a stream.

Definition at line 16 of file tstream.h.

Field Documentation

◆ file_ctx

const struct ps_file_ctx* ps_tstream::file_ctx

The file context for the stream.

Definition at line 24 of file tstream.h.

◆ index

usize ps_tstream::index

inv: 0 < index <= tokens->length.

Definition at line 18 of file tstream.h.

◆ tokens

const struct ps_token_arr* ps_tstream::tokens

The tokens in the stream.

Definition at line 21 of file tstream.h.


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