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

One named field inside a parsed struct declaration. More...

#include <Compiler_AST.H>

Collaboration diagram for Aleph::Compiler_Struct_Field:
[legend]

Public Attributes

std::string name
 Field name.
 
Source_Span name_span
 Span of the field name.
 
Source_Span colon_span
 Span of the separating :.
 
Compiler_Type_Expr * annotation = nullptr
 Declared field type.
 
Source_Span semicolon_span
 Span of the trailing ;.
 

Detailed Description

One named field inside a parsed struct declaration.

Definition at line 607 of file Compiler_AST.H.

Member Data Documentation

◆ annotation

Compiler_Type_Expr* Aleph::Compiler_Struct_Field::annotation = nullptr

Declared field type.

Definition at line 612 of file Compiler_AST.H.

◆ colon_span

Source_Span Aleph::Compiler_Struct_Field::colon_span

Span of the separating :.

Definition at line 611 of file Compiler_AST.H.

◆ name

std::string Aleph::Compiler_Struct_Field::name

Field name.

Definition at line 609 of file Compiler_AST.H.

◆ name_span

Source_Span Aleph::Compiler_Struct_Field::name_span

Span of the field name.

Definition at line 610 of file Compiler_AST.H.

◆ semicolon_span

Source_Span Aleph::Compiler_Struct_Field::semicolon_span

Span of the trailing ;.

Definition at line 613 of file Compiler_AST.H.


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