| 32 | } |
| 33 | |
| 34 | InfoNode InfoTree::CreateArray() { |
| 35 | auto nodeIndex = _nodeOrInfos.size(); |
| 36 | auto childIndex = _arrayChildren.size(); |
| 37 | _arrayChildren.emplace_back(); |
| 38 | |
| 39 | InfoOrNode n; |
| 40 | n.Kind = InfoKind::Array; |
| 41 | n.Data.ChildIndex = childIndex; |
| 42 | _nodeOrInfos.push_back(n); |
| 43 | |
| 44 | return InfoNode(nodeIndex, this); |
| 45 | } |
| 46 | |
| 47 | InfoNode InfoTree::CreateString(std::string s) { |
| 48 | auto nodeIndex = _nodeOrInfos.size(); |
no test coverage detected