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

#include <C4AulAST.h>

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

Public Member Functions

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

Public Attributes

std::string var
 
bool scoped_var = false
 
ExprPtr cond
 
StmtPtr body
 
const char * loc = nullptr
 

Detailed Description

Definition at line 308 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 137 of file C4AulAST.h.

137 { return false; }

Member Data Documentation

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

Definition at line 296 of file C4AulAST.h.

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

Definition at line 295 of file C4AulAST.h.

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

Definition at line 128 of file C4AulAST.h.

bool aul::ast::RangeLoop::scoped_var = false

Definition at line 313 of file C4AulAST.h.

std::string aul::ast::RangeLoop::var

Definition at line 312 of file C4AulAST.h.


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