|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Node representing a function or method call. More...
#include <Compiler_AST.H>
Public Member Functions | |
| Compiler_Call_Expr (Compiler_Expr *func=nullptr, const Source_Span &lparen={}, const Source_Span &rparen={}) noexcept | |
| Constructs a call expression. | |
Public Member Functions inherited from Aleph::Compiler_Expr | |
| Compiler_Expr (const Compiler_Expr_Kind k=Compiler_Expr_Kind::Invalid, const Source_Span &sp={}) noexcept | |
| Constructs an expression base. | |
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. | |
Public Attributes | |
| Compiler_Expr * | callee = nullptr |
| Expression resolving to a callable entity. | |
| DynArray< Compiler_Expr * > | arguments |
| list of call arguments. | |
| Source_Span | lparen_span |
| Location of ‘’('`. | |
| Source_Span | rparen_span |
| Location of ‘’)'`. | |
Public Attributes inherited from Aleph::Compiler_Expr | |
| Compiler_Expr_Kind | kind = Compiler_Expr_Kind::Invalid |
| Specific expression type. | |
Public Attributes inherited from Aleph::Compiler_Ast_Node | |
| Source_Span | span |
| Source region covered by this node. | |
Node representing a function or method call.
Example: calculate(a, b, 5).
Definition at line 841 of file Compiler_AST.H.
|
inlinenoexcept |
Constructs a call expression.
Definition at line 849 of file Compiler_AST.H.
| DynArray<Compiler_Expr *> Aleph::Compiler_Call_Expr::arguments |
list of call arguments.
Definition at line 844 of file Compiler_AST.H.
| Compiler_Expr* Aleph::Compiler_Call_Expr::callee = nullptr |
Expression resolving to a callable entity.
Definition at line 843 of file Compiler_AST.H.
| Source_Span Aleph::Compiler_Call_Expr::lparen_span |
Location of ‘’('`.
Definition at line 845 of file Compiler_AST.H.
| Source_Span Aleph::Compiler_Call_Expr::rparen_span |
Location of ‘’)'`.
Definition at line 846 of file Compiler_AST.H.