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

Placeholder node for malformed import declarations. More...

#include <Compiler_AST.H>

Inheritance diagram for Aleph::Compiler_Invalid_Import_Decl:
[legend]
Collaboration diagram for Aleph::Compiler_Invalid_Import_Decl:
[legend]

Public Member Functions

 Compiler_Invalid_Import_Decl (const Source_Span &sp={}) noexcept
 Constructs an invalid import-declaration sentinel.
 
- Public Member Functions inherited from Aleph::Compiler_Import_Decl
 Compiler_Import_Decl (const Compiler_Import_Decl_Kind k=Compiler_Import_Decl_Kind::Invalid, const Source_Span &kw={}, std::string imported="", const Source_Span &module_sp={}, const Source_Span &semi_sp={}, const Source_Span &sp={}) noexcept
 Constructs an import-declaration base node.
 
- Public Member Functions inherited from Aleph::Compiler_Ast_Node
 Compiler_Ast_Node (const Source_Span &sp={}) noexcept
 Constructs a node with an optional span.
 
virtual ~Compiler_Ast_Node () noexcept=default
 Virtual destructor to ensure proper cleanup of derived nodes.
 

Additional Inherited Members

- Public Attributes inherited from Aleph::Compiler_Import_Decl
Compiler_Import_Decl_Kind kind = Compiler_Import_Decl_Kind::Invalid
 Specific declaration variant.
 
Source_Span keyword_span
 Span of the introducing import keyword.
 
std::string module_name
 Imported source name without surrounding quotes.
 
Source_Span module_name_span
 Span of the imported string literal.
 
Source_Span semicolon_span
 Span of the trailing ;.
 
- Public Attributes inherited from Aleph::Compiler_Ast_Node
Source_Span span
 Source region covered by this node.
 

Detailed Description

Placeholder node for malformed import declarations.

Definition at line 579 of file Compiler_AST.H.

Constructor & Destructor Documentation

◆ Compiler_Invalid_Import_Decl()

Aleph::Compiler_Invalid_Import_Decl::Compiler_Invalid_Import_Decl ( const Source_Span &  sp = {})
inlineexplicitnoexcept

Constructs an invalid import-declaration sentinel.

Definition at line 582 of file Compiler_AST.H.


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