|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Placeholder node for malformed import declarations. More...
#include <Compiler_AST.H>
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. | |
Placeholder node for malformed import declarations.
Definition at line 579 of file Compiler_AST.H.
|
inlineexplicitnoexcept |
Constructs an invalid import-declaration sentinel.
Definition at line 582 of file Compiler_AST.H.