aul::ast::Loop Class Referenceabstract

#include <C4AulAST.h>

Inheritance diagram for aul::ast::Loop:
Collaboration diagram for aul::ast::Loop:

Public Member Functions

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

Public Attributes

ExprPtr cond
StmtPtr body
const char * loc = nullptr

Detailed Description

Definition at line 287 of file C4AulAST.h.

Member Function Documentation

◆ accept()

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

◆ has_value()

virtual bool aul::ast::Stmt::has_value ( ) const

Reimplemented in aul::ast::Expr.

Definition at line 132 of file C4AulAST.h.

132 { return false; }

Member Data Documentation

◆ body

StmtPtr aul::ast::Loop::body

Definition at line 291 of file C4AulAST.h.

◆ cond

ExprPtr aul::ast::Loop::cond

Definition at line 290 of file C4AulAST.h.

◆ loc

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

Definition at line 123 of file C4AulAST.h.

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