Envision
A visual programming IDE for object-oriented languages
List of all members | Public Member Functions
OOModel::VariableDeclarationExpression Class Reference
Inheritance diagram for OOModel::VariableDeclarationExpression:
Core::Reflect< Base >

Public Member Functions

 VariableDeclarationExpression (const QString &name, Expression *type, Expression *initialValue)
 
 VariableDeclarationExpression (const QString &name, Expression *type, Modifier::Modifiers mod, Expression *initialValue=nullptr)
 
 VariableDeclarationExpression (const QString &name, Expression *type=nullptr)
 
 VariableDeclarationExpression (VariableDeclaration *variableDeclaration)
 
virtual bool definesSymbol () const override
 
virtual const QString & symbolName () const override
 
virtual SymbolTypes symbolType () const override
 
virtual std::unique_ptr< Typetype () override
 

Additional Inherited Members

- Protected Types inherited from Core::Reflect< Base >
using Super = Reflect< Base >
 

Constructor & Destructor Documentation

◆ VariableDeclarationExpression() [1/4]

OOModel::VariableDeclarationExpression::VariableDeclarationExpression ( VariableDeclaration variableDeclaration)

◆ VariableDeclarationExpression() [2/4]

OOModel::VariableDeclarationExpression::VariableDeclarationExpression ( const QString &  name,
Expression type = nullptr 
)

◆ VariableDeclarationExpression() [3/4]

OOModel::VariableDeclarationExpression::VariableDeclarationExpression ( const QString &  name,
Expression type,
Expression initialValue 
)

◆ VariableDeclarationExpression() [4/4]

OOModel::VariableDeclarationExpression::VariableDeclarationExpression ( const QString &  name,
Expression type,
Modifier::Modifiers  mod,
Expression initialValue = nullptr 
)

Member Function Documentation

◆ definesSymbol()

bool OOModel::VariableDeclarationExpression::definesSymbol ( ) const
overridevirtual

◆ symbolName()

const QString & OOModel::VariableDeclarationExpression::symbolName ( ) const
overridevirtual

◆ symbolType()

VariableDeclarationExpression::SymbolTypes OOModel::VariableDeclarationExpression::symbolType ( ) const
overridevirtual

◆ type()

std::unique_ptr< Type > OOModel::VariableDeclarationExpression::type ( )
overridevirtual