Function Declaration Node.
More...
#include <AST.hpp>
Function Declaration Node.
Definition at line 579 of file AST.hpp.
◆ FunctionDecl()
| Phasor::AST::FunctionDecl::FunctionDecl |
( |
std::string | n, |
|
|
std::vector< Param > | p, |
|
|
std::unique_ptr< TypeNode > | rt, |
|
|
std::unique_ptr< BlockStmt > | b ) |
|
inline |
◆ print()
| void Phasor::AST::FunctionDecl::print |
( |
int | indent = 0 | ) |
const |
|
inlineoverridevirtual |
◆ body
| std::unique_ptr<BlockStmt> Phasor::AST::FunctionDecl::body |
◆ name
| std::string Phasor::AST::FunctionDecl::name |
◆ params
| std::vector<Param> Phasor::AST::FunctionDecl::params |
◆ returnType
| std::unique_ptr<TypeNode> Phasor::AST::FunctionDecl::returnType |
The documentation for this struct was generated from the following file: