1 #include "xi-SdagConstruct.h"
5 SdagConstruct::SdagConstruct(EToken t, const char* str) {
10 SdagConstruct::SdagConstruct(EToken t) { init(t); }
12 SdagConstruct::SdagConstruct(EToken t, XStr* txt) { init(t); }
14 void SdagConstruct::setEntry(Entry* e) {
16 if (con1) con1->setEntry(e);
17 if (con2) con2->setEntry(e);
18 if (con3) con3->setEntry(e);
19 if (con4) con4->setEntry(e);
22 for (std::list<SdagConstruct*>::iterator child = constructs->begin();
23 child != constructs->end(); ++child)
24 (*child)->setEntry(e);