14 visitInfo(
const std::string* name,
node* parent, nidx index, ncnt len, nint depth):
15 me(name ? *name : std::string(
""), parent, index, len, depth) {}
17 visitInfo(
const std::string& newName,
node* newParent, nidx newIndex, ncnt newLen, nint newDepth):
18 name(newName), parent(newParent), index(newIndex), len(newLen), depth(newDepth) {}
Base class for all AST nodes in byeol language.
Definition: node.hpp:30
Visitor context information.
Definition: visitInfo.hpp:10