All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
aul::ast::If Class Referenceabstract

#include <C4AulAST.h>

Inheritance diagram for aul::ast::If:
Collaboration diagram for aul::ast::If:

Public Member Functions

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

Public Attributes

ExprPtr cond
StmtPtr iftrue
StmtPtr iffalse
const char * loc = nullptr

Detailed Description

Definition at line 339 of file C4AulAST.h.

Member Function Documentation

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

Reimplemented in aul::ast::Expr.

Definition at line 137 of file C4AulAST.h.

137 { return false; }

Member Data Documentation

ExprPtr aul::ast::If::cond

Definition at line 343 of file C4AulAST.h.

StmtPtr aul::ast::If::iffalse

Definition at line 344 of file C4AulAST.h.

StmtPtr aul::ast::If::iftrue

Definition at line 344 of file C4AulAST.h.

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

Definition at line 128 of file C4AulAST.h.

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