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

#include <C4AulAST.h>

Inheritance diagram for aul::ast::ForLoop:
[legend]
Collaboration diagram for aul::ast::ForLoop:
[legend]

Public Member Functions

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

Public Attributes

StmtPtr init
 
ExprPtr incr
 
ExprPtr cond
 
StmtPtr body
 
const char * loc = nullptr
 

Detailed Description

Definition at line 295 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

StmtPtr aul::ast::Loop::body
inherited

Definition at line 291 of file C4AulAST.h.

ExprPtr aul::ast::Loop::cond
inherited

Definition at line 290 of file C4AulAST.h.

ExprPtr aul::ast::ForLoop::incr

Definition at line 300 of file C4AulAST.h.

StmtPtr aul::ast::ForLoop::init

Definition at line 299 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: