Decaf Compiler
Loading...
Searching...
No Matches
Public Attributes | List of all members
Token Struct Reference

Single token. More...

#include <token.h>

Public Attributes

TokenType type
 Type of the token.
 
char text [256]
 Raw text of the token.
 
int line
 Source line number.
 
struct Tokennext
 Pointer to next token (used to store in a list)
 

Detailed Description

Single token.

Allocate with Token_new and de-allocate with Token_free.


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