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

Represents a lexical scope with hierarchical relationships. More...

#include <type.h>

Collaboration diagram for Scope:
Collaboration graph
[legend]

Public Attributes

struct Scopeparent
 
GrowableArray symbols
 
GrowableArray children
 
const char * scope_name
 
size_t depth
 
bool is_function_scope
 
AstNodeassociated_node
 
bool is_module_scope
 
const char * module_name
 
GrowableArray imported_modules
 
bool returns_ownership
 
bool takes_ownership
 
StaticMemoryAnalyzermemory_analyzer
 
GrowableArray deferred_frees
 
GrowableArray link_libs
 
BuildConfigconfig
 

Detailed Description

Represents a lexical scope with hierarchical relationships.

Member Data Documentation

◆ associated_node

AstNode* Scope::associated_node

◆ children

GrowableArray Scope::children

◆ config

BuildConfig* Scope::config

◆ deferred_frees

GrowableArray Scope::deferred_frees

◆ depth

size_t Scope::depth

◆ imported_modules

GrowableArray Scope::imported_modules

◆ is_function_scope

bool Scope::is_function_scope

◆ is_module_scope

bool Scope::is_module_scope

◆ link_libs

GrowableArray Scope::link_libs

◆ memory_analyzer

StaticMemoryAnalyzer* Scope::memory_analyzer

◆ module_name

const char* Scope::module_name

◆ parent

struct Scope* Scope::parent

◆ returns_ownership

bool Scope::returns_ownership

◆ scope_name

const char* Scope::scope_name

◆ symbols

GrowableArray Scope::symbols

◆ takes_ownership

bool Scope::takes_ownership

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