top | up | prev | next

VariableValueSymbol Class

Definition at line 154 of Evaluator.cpp

Constructors

VariableValueSymbol(const Span& span_, const boost::uuids::uuid& moduleId_, const std::u32string& name_, std::unique_ptr<Value>&& value_)

Member Functions

const char* ClassName() const override
Value* GetValue()
void SetValue(Value* value_)

Member Variables

std::unique_ptr<Value> value

Constructor Details

VariableValueSymbol Constructor

cmajor::binder::VariableValueSymbol::VariableValueSymbol(const Span& span_, const boost::uuids::uuid& moduleId_, const std::u32string& name_, std::unique_ptr<Value>&& value_)

Definition at line 165 of Evaluator.cpp :
 165 :
 166 VariableSymbol(SymbolType::variableValueSymbolspan_moduleId_name_)value(std::move(value_))
 167 {
 168 }


Declaration at line 157 of Evaluator.cpp


Member Function Details

ClassName Member Function

const char * cmajor::binder::VariableValueSymbol::ClassName() const override

Definition at line 160 of Evaluator.cpp :
 160 { return "VariableValueSymbol"; }


GetValue Member Function

Value* cmajor::binder::VariableValueSymbol::GetValue()

Definition at line 158 of Evaluator.cpp :
 158 { return value.get(); }

Called by: cmajor::binder::Evaluator::EvaluateSymbol


SetValue Member Function

void cmajor::binder::VariableValueSymbol::SetValue(Value* value_)

Definition at line 159 of Evaluator.cpp :
 159 { value.reset(value_); }

Called by: cmajor::binder::Evaluator::Visit


top | up | prev | next