Luma 0.1.0
A low-level compiled alternative to C, C++, and more!
Loading...
Searching...
No Matches
Public Attributes | List of all members
Parser Struct Reference

Parser state holding token stream and current position. More...

#include <parser.h>

Collaboration diagram for Parser:
Collaboration graph
[legend]

Public Attributes

const char * file_path
 
ArenaAllocatorarena
 
Tokentks
 
size_t tk_count
 
size_t capacity
 
size_t pos
 
char * pending_doc_comment
 

Detailed Description

Parser state holding token stream and current position.

Member Data Documentation

◆ arena

ArenaAllocator* Parser::arena

◆ capacity

size_t Parser::capacity

◆ file_path

const char* Parser::file_path

◆ pending_doc_comment

char* Parser::pending_doc_comment

◆ pos

size_t Parser::pos

◆ tk_count

size_t Parser::tk_count

◆ tks

Token* Parser::tks

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