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

#include <C4AulAST.h>

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

Public Member Functions

 VarExpr (const std::string &identifier)
 
bool has_value () const override
 
virtual void accept (::aul::AstVisitor *) const =0
 

Public Attributes

std::string identifier
 
const char * loc = nullptr
 

Detailed Description

Definition at line 200 of file C4AulAST.h.

Constructor & Destructor Documentation

aul::ast::VarExpr::VarExpr ( const std::string &  identifier)
inlineexplicit

Definition at line 204 of file C4AulAST.h.

std::string identifier
Definition: C4AulAST.h:205

Member Function Documentation

virtual void aul::ast::Node::accept ( ::aul::AstVisitor ) const
pure virtualinherited
bool aul::ast::Expr::has_value ( ) const
inlineoverridevirtualinherited

Reimplemented from aul::ast::Stmt.

Definition at line 145 of file C4AulAST.h.

145 { return true; }

Member Data Documentation

std::string aul::ast::VarExpr::identifier

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