Phasor 3.1.1
Stack VM based Programming Language
Loading...
Searching...
No Matches
Phasor::AST::ExportStmt Struct Reference

Export Statement Node. More...

#include <AST.hpp>

Inheritance diagram for Phasor::AST::ExportStmt:
[legend]
Collaboration diagram for Phasor::AST::ExportStmt:
[legend]

Public Member Functions

 ExportStmt (std::unique_ptr< Statement > decl)
void print (int indent=0) const override
Public Member Functions inherited from Phasor::AST::Node
virtual ~Node ()=default

Public Attributes

std::unique_ptr< Statementdeclaration
Public Attributes inherited from Phasor::AST::Node
size_t line = 0
size_t column = 0

Detailed Description

Export Statement Node.

Definition at line 474 of file AST.hpp.

Constructor & Destructor Documentation

◆ ExportStmt()

Phasor::AST::ExportStmt::ExportStmt ( std::unique_ptr< Statement > decl)
inline

Definition at line 477 of file AST.hpp.

Member Function Documentation

◆ print()

void Phasor::AST::ExportStmt::print ( int indent = 0) const
inlineoverridevirtual

Implements Phasor::AST::Node.

Definition at line 480 of file AST.hpp.

Member Data Documentation

◆ declaration

std::unique_ptr<Statement> Phasor::AST::ExportStmt::declaration

Definition at line 476 of file AST.hpp.


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