libpulsar
A modular compiler for the pulsar programming language
Loading...
Searching...
No Matches
Data Structures | Public Types | Data Fields
ps_expr_lit Struct Reference

An expression literal. More...

#include <ast.h>

Data Structures

union  ps_expr_lit_value
 

Public Types

enum  ps_expr_lit_type
 

Data Fields

enum ps_expr_lit::ps_expr_lit_type type
 
struct ps_tokentoken
 A token associated with the expression literal.
 
union ps_expr_lit::ps_expr_lit_value value
 

Detailed Description

An expression literal.

enum ps_expr_lit_type union ps_expr_lit_value

Definition at line 133 of file ast.h.

Member Enumeration Documentation

◆ ps_expr_lit_type

Definition at line 137 of file ast.h.

Field Documentation

◆ token

struct ps_token* ps_expr_lit::token

A token associated with the expression literal.

Definition at line 144 of file ast.h.

◆ type

enum ps_expr_lit::ps_expr_lit_type ps_expr_lit::type

◆ value

union ps_expr_lit::ps_expr_lit_value ps_expr_lit::value

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