Lines Matching refs:DocNode
24 void DocNode::convertToArray() { *this = getDocument()->getArrayNode(); } in convertToArray()
27 void DocNode::convertToMap() { *this = getDocument()->getMapNode(); } in convertToMap()
30 DocNode::MapTy::iterator MapDocNode::find(StringRef S) { in find()
36 DocNode &MapDocNode::operator[](StringRef S) { in operator []()
41 DocNode &MapDocNode::operator[](DocNode Key) { in operator []()
43 DocNode &N = (*Map)[Key]; in operator []()
52 DocNode &MapDocNode::operator[](int Key) { in operator []()
55 DocNode &MapDocNode::operator[](unsigned Key) { in operator []()
58 DocNode &MapDocNode::operator[](int64_t Key) { in operator []()
61 DocNode &MapDocNode::operator[](uint64_t Key) { in operator []()
66 DocNode &ArrayDocNode::operator[](size_t Index) { in operator []()
79 DocNode &DocNode::operator=(StringRef Val) { in operator =()
83 DocNode &DocNode::operator=(MemoryBufferRef Val) { in operator =()
87 DocNode &DocNode::operator=(bool Val) { in operator =()
91 DocNode &DocNode::operator=(int Val) { in operator =()
95 DocNode &DocNode::operator=(unsigned Val) { in operator =()
99 DocNode &DocNode::operator=(int64_t Val) { in operator =()
103 DocNode &DocNode::operator=(uint64_t Val) { in operator =()
110 StackLevel(DocNode Node, size_t StartIndex, size_t Length, in StackLevel()
111 DocNode *MapEntry = nullptr) in StackLevel()
114 DocNode Node;
118 DocNode *MapEntry;
119 DocNode MapKey;
133 function_ref<int(DocNode *DestNode, DocNode SrcNode, DocNode MapKey)> in readFromBlob()
160 DocNode Node; in readFromBlob()
194 DocNode *DestNode = nullptr; in readFromBlob()
219 DocNode MapKey = !Stack.empty() && !Stack.back().MapKey.isEmpty() in readFromBlob()
253 DocNode Node;
254 DocNode::MapTy::iterator MapIt;
255 DocNode::ArrayTy::iterator ArrayIt;
265 DocNode Node = getRoot(); in writeToBlob()
271 {Node, DocNode::MapTy::iterator(), Node.getArray().begin(), false}); in writeToBlob()
276 {Node, Node.getMap().begin(), DocNode::ArrayTy::iterator(), true}); in writeToBlob()