OpenClonk
aul::ast::IncludePragma Class Referenceabstract

#include <C4AulAST.h>

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

Public Member Functions

 IncludePragma (const std::string &what)
 
virtual bool has_value () const
 
virtual void accept (::aul::AstVisitor *) const =0
 

Public Attributes

std::string what
 
const char * loc = nullptr
 

Detailed Description

Definition at line 404 of file C4AulAST.h.

Constructor & Destructor Documentation

◆ IncludePragma()

aul::ast::IncludePragma::IncludePragma ( const std::string &  what)
inlineexplicit

Definition at line 408 of file C4AulAST.h.

408 : what(what) {}

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
inlinevirtualinherited

Reimplemented in aul::ast::Expr.

Definition at line 132 of file C4AulAST.h.

132 { return false; }

Member Data Documentation

◆ loc

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

Definition at line 123 of file C4AulAST.h.

◆ what

std::string aul::ast::IncludePragma::what

Definition at line 409 of file C4AulAST.h.


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