Lines Matching refs:CurrentNode
46 CurrentNode(NULL) { in Input()
75 CurrentNode = TopNode.get(); in setCurrentDocument()
88 MapHNode *MN = dyn_cast<MapHNode>(CurrentNode); in beginMapping()
99 MapHNode *MN = dyn_cast<MapHNode>(CurrentNode); in preflightKey()
101 setError(CurrentNode, "not a mapping"); in preflightKey()
108 setError(CurrentNode, Twine("missing required key '") + Key + "'"); in preflightKey()
113 SaveInfo = CurrentNode; in preflightKey()
114 CurrentNode = Value; in preflightKey()
119 CurrentNode = reinterpret_cast<HNode *>(saveInfo); in postflightKey()
125 MapHNode *MN = dyn_cast<MapHNode>(CurrentNode); in endMapping()
138 if (SequenceHNode *SQ = dyn_cast<SequenceHNode>(CurrentNode)) { in beginSequence()
150 if (SequenceHNode *SQ = dyn_cast<SequenceHNode>(CurrentNode)) { in preflightElement()
151 SaveInfo = CurrentNode; in preflightElement()
152 CurrentNode = SQ->Entries[Index]; in preflightElement()
159 CurrentNode = reinterpret_cast<HNode *>(SaveInfo); in postflightElement()
163 if (SequenceHNode *SQ = dyn_cast<SequenceHNode>(CurrentNode)) { in beginFlowSequence()
172 if (SequenceHNode *SQ = dyn_cast<SequenceHNode>(CurrentNode)) { in preflightFlowElement()
173 SaveInfo = CurrentNode; in preflightFlowElement()
174 CurrentNode = SQ->Entries[index]; in preflightFlowElement()
181 CurrentNode = reinterpret_cast<HNode *>(SaveInfo); in postflightFlowElement()
194 if (ScalarHNode *SN = dyn_cast<ScalarHNode>(CurrentNode)) { in matchEnumScalar()
205 setError(CurrentNode, "unknown enumerated scalar"); in endEnumScalar()
211 if (SequenceHNode *SQ = dyn_cast<SequenceHNode>(CurrentNode)) { in beginBitSetScalar()
214 setError(CurrentNode, "expected sequence of bit values"); in beginBitSetScalar()
223 if (SequenceHNode *SQ = dyn_cast<SequenceHNode>(CurrentNode)) { in bitSetMatch()
233 setError(CurrentNode, "unexpected scalar in sequence of bit values"); in bitSetMatch()
238 setError(CurrentNode, "expected sequence of bit values"); in bitSetMatch()
246 if (SequenceHNode *SQ = dyn_cast<SequenceHNode>(CurrentNode)) { in endBitSetScalar()
258 if (ScalarHNode *SN = dyn_cast<ScalarHNode>(CurrentNode)) { in scalarString()
261 setError(CurrentNode, "unexpected scalar"); in scalarString()
334 this->setError(CurrentNode, Message); in setError()