Serene Runtime 1.0.0
C runtime for the Serene programming language
Loading...
Searching...
No Matches
srn_syntax_t Struct Reference

#include <core.h>

Collaboration diagram for srn_syntax_t:
[legend]

Data Fields

srn_syntax_tag_t type
 
srn_metadata_tmetadata
 
union { 
 
   const char *   symbol 
 For syntax only, we represent numbers as a strings,. More...
 
   const char *   number 
 
   const char *   string 
 
   srn_error_t *   error 
 
   seq_t *   list 
 
   const char *   keyword 
 
   seq_t *   seq 
 
   seq_t *   map 
 
   struct srn_syntax_t *   quote 
 
as 
 IMPORTANT NOTE: The size of this union should never be larger than a word.
 

Detailed Description

Definition at line 89 of file core.h.

Field Documentation

◆ [union]

union { ... } srn_syntax_t::as

IMPORTANT NOTE: The size of this union should never be larger than a word.

◆ error

srn_error_t* srn_syntax_t::error

Definition at line 98 of file core.h.

◆ keyword

const char* srn_syntax_t::keyword

Definition at line 100 of file core.h.

◆ list

seq_t* srn_syntax_t::list

Definition at line 99 of file core.h.

◆ map

seq_t* srn_syntax_t::map

Definition at line 102 of file core.h.

◆ metadata

srn_metadata_t* srn_syntax_t::metadata

Definition at line 91 of file core.h.

◆ number

const char* srn_syntax_t::number

Definition at line 96 of file core.h.

◆ quote

struct srn_syntax_t* srn_syntax_t::quote

Definition at line 103 of file core.h.

◆ seq

seq_t* srn_syntax_t::seq

Definition at line 101 of file core.h.

◆ string

const char* srn_syntax_t::string

Definition at line 97 of file core.h.

◆ symbol

const char* srn_syntax_t::symbol

For syntax only, we represent numbers as a strings,.

Definition at line 95 of file core.h.

◆ type

srn_syntax_tag_t srn_syntax_t::type

Definition at line 90 of file core.h.


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