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

Call Expression Node. More...

#include <AST.hpp>

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

Public Member Functions

 CallExpr (std::string name, std::vector< std::unique_ptr< Expression > > args)
void print (int indent=0) const override
Public Member Functions inherited from Phasor::AST::Node
virtual ~Node ()=default

Public Attributes

std::string callee
std::vector< std::unique_ptr< Expression > > arguments

Detailed Description

Call Expression Node.

Definition at line 333 of file AST.hpp.

Constructor & Destructor Documentation

◆ CallExpr()

Phasor::AST::CallExpr::CallExpr ( std::string name,
std::vector< std::unique_ptr< Expression > > args )
inline

Definition at line 338 of file AST.hpp.

Member Function Documentation

◆ print()

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

Implements Phasor::AST::Node.

Definition at line 342 of file AST.hpp.

Member Data Documentation

◆ arguments

std::vector<std::unique_ptr<Expression> > Phasor::AST::CallExpr::arguments

Definition at line 336 of file AST.hpp.

◆ callee

std::string Phasor::AST::CallExpr::callee

Definition at line 335 of file AST.hpp.


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