Mercurial > hg > Papers > 2024 > matac-master
view Paper/src/cd.cbc @ 33:c1323b737cfd
...
author | matac42 <matac@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 18 Jan 2024 19:37:19 +0900 |
parents | 83b783747d1a |
children |
line wrap: on
line source
__code cd2Child(struct GearsDirectoryImpl* gearsDirectory, struct Integer* name, __code next(...)) { struct FTree* cDirectory = new FTree(); cDirectory = gearsDirectory->currentDirectory; struct Node* node = new Node(); node->key = name->value; goto cDirectory->get(node, cd2Child2); } __code cd2Child2(struct GearsDirectoryImpl* gearsDirectory, struct Node* node, __code next(...)) { struct FTree* iNodeTree = new FTree(); iNodeTree = gearsDirectory->iNodeTree; goto iNodeTree->get(node->value, cd2Child3); } __code cd2Child3(struct GearsDirectoryImpl* gearsDirectory, struct Node* node, __code next(...)) { gearsDirectory->currentDirectory = node->value; goto next(...); }