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

Parses "let `name`: `type` = `value`". More...

#include <ast.h>

Data Fields

struct ps_tokenname
 
bool is_mutable
 
struct ps_typetype
 
struct ps_exprvalue
 

Detailed Description

Parses "let `name`: `type` = `value`".

Set is_mutable if "let mut" instead of "let".

Definition at line 40 of file ast.h.

Field Documentation

◆ is_mutable

bool ps_node_let::is_mutable

Definition at line 42 of file ast.h.

◆ name

struct ps_token* ps_node_let::name

Definition at line 41 of file ast.h.

◆ type

struct ps_type* ps_node_let::type

Definition at line 43 of file ast.h.

◆ value

struct ps_expr* ps_node_let::value

Definition at line 44 of file ast.h.


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