Phasor 3.1.1
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
Public Attributes inherited from Phasor::AST::Node
size_t line = 0
size_t column = 0

Detailed Description

Call Expression Node.

Definition at line 364 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 369 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 373 of file AST.hpp.

Member Data Documentation

◆ arguments

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

Definition at line 367 of file AST.hpp.

◆ callee

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

Definition at line 366 of file AST.hpp.


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