aul::ast::Function Class Referenceabstract

#include <C4AulAST.h>

Inheritance diagram for aul::ast::Function:


struct  Parameter

Public Member Functions

virtual ~Function ()=default
virtual void accept (::aul::AstVisitor *v) const =0

Public Attributes

std::vector< Parameterparams
bool has_unnamed_params = false
std::unique_ptr< Blockbody

Detailed Description

Definition at line 368 of file C4AulAST.h.

Constructor & Destructor Documentation

◆ ~Function()

virtual aul::ast::Function::~Function ( )

Member Function Documentation

◆ accept()

virtual void aul::ast::Function::accept ( ::aul::AstVisitor v) const
pure virtual

Member Data Documentation

◆ body

std::unique_ptr<Block> aul::ast::Function::body

Definition at line 379 of file C4AulAST.h.

◆ has_unnamed_params

bool aul::ast::Function::has_unnamed_params = false

Definition at line 378 of file C4AulAST.h.

◆ params

std::vector<Parameter> aul::ast::Function::params

Definition at line 377 of file C4AulAST.h.

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