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

Representation of a function parameter. More...

#include <Compiler_AST.H>

Collaboration diagram for Aleph::Compiler_Param:
[legend]

Public Attributes

std::string name
 Parameter identifier.
 
Source_Span span
 Location in the source.
 
Source_Span colon_span
 Location of the optional : before the annotation.
 
Compiler_Type_Expr * annotation = nullptr
 Optional declared parameter type.
 

Detailed Description

Representation of a function parameter.

Definition at line 1044 of file Compiler_AST.H.

Member Data Documentation

◆ annotation

Compiler_Type_Expr* Aleph::Compiler_Param::annotation = nullptr

Optional declared parameter type.

Definition at line 1049 of file Compiler_AST.H.

◆ colon_span

Source_Span Aleph::Compiler_Param::colon_span

Location of the optional : before the annotation.

Definition at line 1048 of file Compiler_AST.H.

◆ name

std::string Aleph::Compiler_Param::name

Parameter identifier.

Definition at line 1046 of file Compiler_AST.H.

◆ span

Source_Span Aleph::Compiler_Param::span

Location in the source.

Definition at line 1047 of file Compiler_AST.H.


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