topazc
AST::ReturnStmt Class Reference

Statement of 'return'. More...

#include <ast.hpp>

Inheritance diagram for AST::ReturnStmt:
Collaboration diagram for AST::ReturnStmt:

Public Member Functions

 ReturnStmt (ExprPtr e, uint32_t l)
 ~ReturnStmt () override=default
Public Member Functions inherited from AST::Stmt
 Stmt (uint32_t l)
virtual ~Stmt ()=default

Public Attributes

ExprPtr expr
Public Attributes inherited from AST::Stmt
uint32_t line

Detailed Description

Statement of 'return'.

Definition at line 340 of file ast.hpp.

Constructor & Destructor Documentation

◆ ReturnStmt()

AST::ReturnStmt::ReturnStmt ( ExprPtr e,
uint32_t l )
inline

Definition at line 344 of file ast.hpp.

Here is the call graph for this function:

◆ ~ReturnStmt()

AST::ReturnStmt::~ReturnStmt ( )
overridedefault

Member Data Documentation

◆ expr

ExprPtr AST::ReturnStmt::expr

Returned expression

Definition at line 342 of file ast.hpp.


The documentation for this class was generated from the following file:
  • /mnt/disk_ext4_0/topazlang/include/parser/ast.hpp