Phasor 2.2.0
Stack VM based Programming Language
Loading...
Searching...
No Matches
Phasor::AST::ImportStmt Struct Reference

Import Statement Node. More...

#include <AST.hpp>

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

Public Member Functions

 ImportStmt (std::string path)
void print (int indent=0) const override
Public Member Functions inherited from Phasor::AST::Node
virtual ~Node ()=default

Public Attributes

std::string modulePath

Detailed Description

Import Statement Node.

Definition at line 417 of file AST.hpp.

Constructor & Destructor Documentation

◆ ImportStmt()

Phasor::AST::ImportStmt::ImportStmt ( std::string path)
inline

Definition at line 420 of file AST.hpp.

Member Function Documentation

◆ print()

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

Implements Phasor::AST::Node.

Definition at line 423 of file AST.hpp.

Member Data Documentation

◆ modulePath

std::string Phasor::AST::ImportStmt::modulePath

Definition at line 419 of file AST.hpp.


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