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

#include <C4AulAST.h>

Inheritance diagram for aul::ast::StringLit:
Collaboration diagram for aul::ast::StringLit:

Public Member Functions

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

Public Attributes

std::string value
const char * loc = nullptr

Detailed Description

Definition at line 157 of file C4AulAST.h.

Constructor & Destructor Documentation

aul::ast::StringLit::StringLit ( const std::string &  value)

Definition at line 161 of file C4AulAST.h.

161 : value(value) {}
std::string value
Definition: C4AulAST.h:162

Member Function Documentation

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

Reimplemented from aul::ast::Stmt.

Definition at line 150 of file C4AulAST.h.

150 { return true; }

Member Data Documentation

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

Definition at line 128 of file C4AulAST.h.

std::string aul::ast::StringLit::value

Definition at line 162 of file C4AulAST.h.

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