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

#include <C4AulAST.h>

Inheritance diagram for aul::ast::IntLit:
Collaboration diagram for aul::ast::IntLit:

Public Member Functions

 IntLit (int32_t value)
bool has_value () const override
virtual void accept (::aul::AstVisitor *) const =0

Public Attributes

uint32_t value
const char * loc = nullptr

Detailed Description

Definition at line 160 of file C4AulAST.h.

Constructor & Destructor Documentation

aul::ast::IntLit::IntLit ( int32_t  value)

Definition at line 164 of file C4AulAST.h.

164 : value(value) {}
uint32_t value
Definition: C4AulAST.h:165

Member Function Documentation

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

Reimplemented from aul::ast::Stmt.

Definition at line 145 of file C4AulAST.h.

145 { return true; }

Member Data Documentation

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

Definition at line 123 of file C4AulAST.h.

uint32_t aul::ast::IntLit::value

Definition at line 165 of file C4AulAST.h.

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