#include <syntree.h>
Public Member Functions | |
void | addInitExpression (Value *expr) |
virtual Statement * | clone () const |
void | ctorFunction (StmtFunction *func) |
StmtFunction * | ctorFunction () const |
Function data that is used as a constructor. | |
ArrayDecl & | initExpressions () |
const ArrayDecl & | initExpressions () const |
void | initGiven (bool val) |
bool | initGiven () const |
void | singleton (Symbol *s) |
Symbol * | singleton () const |
Singleton associated to this class, if any. | |
StmtClass (const StmtClass &other) | |
StmtClass (uint32 line, Symbol *name) | |
virtual | ~StmtClass () |
Falcon::StmtClass::StmtClass | ( | const StmtClass & | other | ) |
virtual Falcon::StmtClass::~StmtClass | ( | ) | [virtual] |
void Falcon::StmtClass::addInitExpression | ( | Value * | expr | ) | [inline] |
virtual Statement* Falcon::StmtClass::clone | ( | ) | const [virtual] |
Implements Falcon::Statement.
void Falcon::StmtClass::ctorFunction | ( | StmtFunction * | func | ) | [inline] |
StmtFunction* Falcon::StmtClass::ctorFunction | ( | ) | const [inline] |
Function data that is used as a constructor.
As properties may be initialized "randomly", we need a simple way to access the statements that will be generated in the constructor for this class.
The function returned is a normal function that is found in the module function tree.
ArrayDecl& Falcon::StmtClass::initExpressions | ( | ) | [inline] |
const ArrayDecl& Falcon::StmtClass::initExpressions | ( | ) | const [inline] |
void Falcon::StmtClass::initGiven | ( | bool | val | ) | [inline] |
bool Falcon::StmtClass::initGiven | ( | ) | const [inline] |
void Falcon::StmtClass::singleton | ( | Symbol * | s | ) | [inline] |
Symbol* Falcon::StmtClass::singleton | ( | ) | const [inline] |
Singleton associated to this class, if any.