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

A keyword: just a name. More...

#include <keywords.h>

Collaboration diagram for srn_keyword_t:
[legend]

Data Fields

srn_string_tname
 

Detailed Description

A keyword: just a name.

Unlike Clojure, slashes are part of the name, so :foo/bar is a single keyword named "foo/bar" with no namespace component. Keywords are interned engine-wide; two srn_keyword_make calls with the same name return the same srn_value_t*.

Definition at line 29 of file keywords.h.

Field Documentation

◆ name

srn_string_t* srn_keyword_t::name

Definition at line 30 of file keywords.h.


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