aul::ast::CallExpr Class Referenceabstract

#include <C4AulAST.h>

Inheritance diagram for aul::ast::CallExpr:
Collaboration diagram for aul::ast::CallExpr:

Public Member Functions

bool has_value () const override
virtual void accept (::aul::AstVisitor *) const =0

Public Attributes

bool safe_call = false
bool append_unnamed_pars = false
ExprPtr context
std::vector< ExprPtrargs
std::string callee
const char * loc = nullptr

Detailed Description

Definition at line 250 of file C4AulAST.h.

Member Function Documentation

◆ accept()

virtual void aul::ast::Node::accept ( ::aul::AstVisitor ) const
pure virtualinherited

◆ has_value()

bool aul::ast::Expr::has_value ( ) const

Reimplemented from aul::ast::Stmt.

Definition at line 145 of file C4AulAST.h.

145 { return true; }

Member Data Documentation

◆ append_unnamed_pars

bool aul::ast::CallExpr::append_unnamed_pars = false

Definition at line 255 of file C4AulAST.h.

Referenced by C4AulParse::Parse_Statement().

◆ args

std::vector<ExprPtr> aul::ast::CallExpr::args

Definition at line 257 of file C4AulAST.h.

Referenced by C4AulParse::Parse_Statement().

◆ callee

std::string aul::ast::CallExpr::callee

Definition at line 258 of file C4AulAST.h.

Referenced by C4AulParse::Parse_Statement().

◆ context

ExprPtr aul::ast::CallExpr::context

Definition at line 256 of file C4AulAST.h.

◆ loc

const char* aul::ast::Node::loc = nullptr

Definition at line 123 of file C4AulAST.h.

◆ safe_call

bool aul::ast::CallExpr::safe_call = false

Definition at line 254 of file C4AulAST.h.

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