Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::Compiler_Symbol Struct Reference

One reusable symbol record tracked by lexical bindings. More...

#include <Compiler_Symbol_Bindings.H>

Collaboration diagram for Aleph::Compiler_Symbol:
[legend]

Public Attributes

Compiler_Symbol_Id id = 0
 Stable symbol identifier, 1-based.
 
Compiler_Symbol_Kind kind = Compiler_Symbol_Kind::Local
 Symbol category.
 
std::string name
 Declared name.
 
Source_Span declaration_span
 Declaration site.
 
size_t scope_depth = 0
 Lexical depth where the symbol was introduced.
 

Detailed Description

One reusable symbol record tracked by lexical bindings.

Definition at line 85 of file Compiler_Symbol_Bindings.H.

Member Data Documentation

◆ declaration_span

Source_Span Aleph::Compiler_Symbol::declaration_span

Declaration site.

Definition at line 90 of file Compiler_Symbol_Bindings.H.

◆ id

Compiler_Symbol_Id Aleph::Compiler_Symbol::id = 0

Stable symbol identifier, 1-based.

Definition at line 87 of file Compiler_Symbol_Bindings.H.

Referenced by Aleph::Compiler_Symbol_Bindings::append_symbol().

◆ kind

Compiler_Symbol_Kind Aleph::Compiler_Symbol::kind = Compiler_Symbol_Kind::Local

Symbol category.

Definition at line 88 of file Compiler_Symbol_Bindings.H.

Referenced by TEST().

◆ name

std::string Aleph::Compiler_Symbol::name

Declared name.

Definition at line 89 of file Compiler_Symbol_Bindings.H.

◆ scope_depth

size_t Aleph::Compiler_Symbol::scope_depth = 0

Lexical depth where the symbol was introduced.

Definition at line 91 of file Compiler_Symbol_Bindings.H.


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