Luma 0.1.0
A low-level compiled alternative to C, C++, and more!
Loading...
Searching...
No Matches
Public Attributes | List of all members
Symbol Struct Reference

Represents a symbol with associated type and metadata. More...

#include <type.h>

Collaboration diagram for Symbol:
Collaboration graph
[legend]

Public Attributes

const char * name
 
AstNodetype
 
bool is_public
 
bool is_mutable
 
size_t scope_depth
 
bool returns_ownership
 
bool takes_ownership
 

Detailed Description

Represents a symbol with associated type and metadata.

Member Data Documentation

◆ is_mutable

bool Symbol::is_mutable

Mutability flag

◆ is_public

bool Symbol::is_public

Public accessibility flag

◆ name

const char* Symbol::name

Symbol name

◆ returns_ownership

bool Symbol::returns_ownership

◆ scope_depth

size_t Symbol::scope_depth

Nesting level for debugging

◆ takes_ownership

bool Symbol::takes_ownership

◆ type

AstNode* Symbol::type

AST type node


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