public BNode(string _data, BNode _parent) { type = BNType.STRING; sdata = _data; parent = _parent; }
public BNode(List <BNode> _data, BNode _parent) { type = BNType.LIST; ldata = _data; parent = _parent; }
public BNode(long _data, BNode _parent) { type = BNType.INTEGER; idata = _data; parent = _parent; }
public BNode(Dictionary <string, BNode> _data, BNode _parent) { type = BNType.DICTIONARY; ddata = _data; parent = _parent; }