loom
1#include "SemanticDataCollector.h"
2
3#include <cassert>
4
5using namespace simodo;
6
7void SemanticDataCollector::collectNameInitiated(const variable::Variable & var)
8{
9for(size_t i=_declared.size()-1; i < _declared.size(); --i)
10if (_declared[i].name() == var.name()) {
11_declared[i].value() = var.value();
12return;
13}
14
15assert(false);
16}