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

#include <C4AulAST.h>

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

Public Member Functions

 SliceExpr (ExprPtr &&object, ExprPtr &&start, ExprPtr &&end)
 
virtual bool has_value () const override
 
virtual void accept (::aul::AstVisitor *) const =0
 

Public Attributes

ExprPtr object
 
ExprPtr start
 
ExprPtr end
 
const char * loc = nullptr
 

Detailed Description

Definition at line 247 of file C4AulAST.h.

Constructor & Destructor Documentation

aul::ast::SliceExpr::SliceExpr ( ExprPtr &&  object,
ExprPtr &&  start,
ExprPtr &&  end 
)
inline

Definition at line 251 of file C4AulAST.h.

251 : object(std::move(object)), start(std::move(start)), end(std::move(end)) {}

Member Function Documentation

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

Reimplemented from aul::ast::Stmt.

Definition at line 150 of file C4AulAST.h.

150 { return true; }

Member Data Documentation

ExprPtr aul::ast::SliceExpr::end

Definition at line 252 of file C4AulAST.h.

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

Definition at line 128 of file C4AulAST.h.

ExprPtr aul::ast::SliceExpr::object

Definition at line 252 of file C4AulAST.h.

ExprPtr aul::ast::SliceExpr::start

Definition at line 252 of file C4AulAST.h.


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