topazc
AST::ModuleStmt Class Reference

Statement of module definition. More...

#include <ast.hpp>

Inheritance diagram for AST::ModuleStmt:
Collaboration diagram for AST::ModuleStmt:

Public Member Functions

 ModuleStmt (AccessModifier am, std::string fn, std::string n, std::vector< StmtPtr > b, uint32_t l)
 ~ModuleStmt () override=default
Public Member Functions inherited from AST::Stmt
 Stmt (uint32_t l)
virtual ~Stmt ()=default

Public Attributes

AccessModifier access
std::string file_name
std::string name
std::vector< StmtPtrblock
Public Attributes inherited from AST::Stmt
uint32_t line

Detailed Description

Statement of module definition.

Definition at line 419 of file ast.hpp.

Constructor & Destructor Documentation

◆ ModuleStmt()

AST::ModuleStmt::ModuleStmt ( AccessModifier am,
std::string fn,
std::string n,
std::vector< StmtPtr > b,
uint32_t l )
inline

Definition at line 426 of file ast.hpp.

Here is the call graph for this function:

◆ ~ModuleStmt()

AST::ModuleStmt::~ModuleStmt ( )
overridedefault

Member Data Documentation

◆ access

AccessModifier AST::ModuleStmt::access

Access modifier

Definition at line 421 of file ast.hpp.

◆ block

std::vector<StmtPtr> AST::ModuleStmt::block

Block of members

Definition at line 424 of file ast.hpp.

◆ file_name

std::string AST::ModuleStmt::file_name

Name of file with this module

Definition at line 422 of file ast.hpp.

◆ name

std::string AST::ModuleStmt::name

Name of module

Definition at line 423 of file ast.hpp.


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