Lines Matching refs:currentNode

195 …GetPreviousSourceElement : function( currentNode, ignoreSpaceTextOnly, stopSearchElements, ignoreE…  argument
197 if ( !currentNode )
200 …if ( stopSearchElements && currentNode.nodeType == 1 && currentNode.nodeName.IEquals( stopSearchEl…
203 if ( currentNode.previousSibling )
204 currentNode = currentNode.previousSibling ;
206 …return this.GetPreviousSourceElement( currentNode.parentNode, ignoreSpaceTextOnly, stopSearchEleme…
208 while ( currentNode )
210 if ( currentNode.nodeType == 1 )
212 if ( stopSearchElements && currentNode.nodeName.IEquals( stopSearchElements ) )
215 if ( !ignoreElements || !currentNode.nodeName.IEquals( ignoreElements ) )
216 return currentNode ;
218 …else if ( ignoreSpaceTextOnly && currentNode.nodeType == 3 && currentNode.nodeValue.RTrim().length…
221 if ( currentNode.lastChild )
222 currentNode = currentNode.lastChild ;
224 …return this.GetPreviousSourceElement( currentNode, ignoreSpaceTextOnly, stopSearchElements, ignore…
245 …GetNextSourceElement : function( currentNode, ignoreSpaceTextOnly, stopSearchElements, ignoreEleme… argument
247 while( ( currentNode = this.GetNextSourceNode( currentNode, true ) ) ) // Only one "=".
249 if ( currentNode.nodeType == 1 )
251 if ( stopSearchElements && currentNode.nodeName.IEquals( stopSearchElements ) )
254 if ( !ignoreElements || !currentNode.nodeName.IEquals( ignoreElements ) )
255 return currentNode ;
257 …else if ( ignoreSpaceTextOnly && currentNode.nodeType == 3 && currentNode.nodeValue.RTrim().length…
267 GetNextSourceNode : function( currentNode, startFromSibling, nodeType, stopSearchElement ) argument
269 if ( !currentNode )
274 if ( !startFromSibling && currentNode.firstChild )
275 node = currentNode.firstChild ;
278 node = currentNode.nextSibling ;
280 if ( !node && ( !stopSearchElement || stopSearchElement != currentNode.parentNode ) )
281 return this.GetNextSourceNode( currentNode.parentNode, true, nodeType, stopSearchElement ) ;
293 GetPreviousSourceNode : function( currentNode, startFromSibling, nodeType ) argument
295 if ( !currentNode )
300 if ( !startFromSibling && currentNode.lastChild )
301 node = currentNode.lastChild ;
303 …node = ( currentNode.previousSibling || this.GetPreviousSourceNode( currentNode.parentNode, true, …
363 var currentNode = node.parentNode ? node.parentNode.firstChild : null ;
366 while ( currentNode )
370 if ( currentNode == node )
373 currentNode = currentNode.nextSibling ;
806 var currentNode = retval.firstChild ;
807 while ( currentNode )
809 if ( currentNode.nodeType == 1 )
810 this.ClearElementMarkers( markerObj, currentNode ) ;
811 currentNode = this.GetNextSourceNode( currentNode ) ;