OpenClonk
 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:
[legend]
Collaboration diagram for aul::ast::If:
[legend]

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 334 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
inlinevirtualinherited

Reimplemented in aul::ast::Expr.

Definition at line 132 of file C4AulAST.h.

132 { return false; }

Member Data Documentation

ExprPtr aul::ast::If::cond

Definition at line 338 of file C4AulAST.h.

StmtPtr aul::ast::If::iffalse

Definition at line 339 of file C4AulAST.h.

StmtPtr aul::ast::If::iftrue

Definition at line 339 of file C4AulAST.h.

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

Definition at line 123 of file C4AulAST.h.


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