Skip to content

Commit

Permalink
Generate (0496940)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Mar 18, 2024
1 parent 3a22c59 commit ba63074
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions REXML/Parsers/BaseParser.html
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,6 @@ <h3>Public Class Methods</h3>
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">initialize</span>( <span class="ruby-identifier">source</span> )
<span class="ruby-keyword">self</span>.<span class="ruby-identifier">stream</span> = <span class="ruby-identifier">source</span>
<span class="ruby-ivar">@listeners</span> = []
<span class="ruby-ivar">@attributes_scanner</span> = <span class="ruby-constant">StringScanner</span>.<span class="ruby-identifier">new</span>(<span class="ruby-string">&#39;&#39;</span>)
<span class="ruby-keyword">end</span></pre>
</div>

Expand Down Expand Up @@ -578,7 +577,7 @@ <h3>Public Instance Methods</h3>


<div class="method-source-code" id="add_listener-source">
<pre><span class="ruby-comment"># File lib/rexml/parsers/baseparser.rb, line 134</span>
<pre><span class="ruby-comment"># File lib/rexml/parsers/baseparser.rb, line 133</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">add_listener</span>( <span class="ruby-identifier">listener</span> )
<span class="ruby-ivar">@listeners</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-identifier">listener</span>
<span class="ruby-keyword">end</span></pre>
Expand Down Expand Up @@ -611,7 +610,7 @@ <h3>Public Instance Methods</h3>


<div class="method-source-code" id="empty-3F-source">
<pre><span class="ruby-comment"># File lib/rexml/parsers/baseparser.rb, line 160</span>
<pre><span class="ruby-comment"># File lib/rexml/parsers/baseparser.rb, line 159</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">empty?</span>
<span class="ruby-keyword">return</span> (<span class="ruby-ivar">@source</span>.<span class="ruby-identifier">empty?</span> <span class="ruby-keyword">and</span> <span class="ruby-ivar">@stack</span>.<span class="ruby-identifier">empty?</span>)
<span class="ruby-keyword">end</span></pre>
Expand Down Expand Up @@ -644,7 +643,7 @@ <h3>Public Instance Methods</h3>


<div class="method-source-code" id="entity-source">
<pre><span class="ruby-comment"># File lib/rexml/parsers/baseparser.rb, line 447</span>
<pre><span class="ruby-comment"># File lib/rexml/parsers/baseparser.rb, line 446</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">entity</span>( <span class="ruby-identifier">reference</span>, <span class="ruby-identifier">entities</span> )
<span class="ruby-identifier">value</span> = <span class="ruby-keyword">nil</span>
<span class="ruby-identifier">value</span> = <span class="ruby-identifier">entities</span>[ <span class="ruby-identifier">reference</span> ] <span class="ruby-keyword">if</span> <span class="ruby-identifier">entities</span>
Expand Down Expand Up @@ -683,7 +682,7 @@ <h3>Public Instance Methods</h3>


<div class="method-source-code" id="has_next-3F-source">
<pre><span class="ruby-comment"># File lib/rexml/parsers/baseparser.rb, line 165</span>
<pre><span class="ruby-comment"># File lib/rexml/parsers/baseparser.rb, line 164</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">has_next?</span>
<span class="ruby-keyword">return</span> <span class="ruby-operator">!</span>(<span class="ruby-ivar">@source</span>.<span class="ruby-identifier">empty?</span> <span class="ruby-keyword">and</span> <span class="ruby-ivar">@stack</span>.<span class="ruby-identifier">empty?</span>)
<span class="ruby-keyword">end</span></pre>
Expand Down Expand Up @@ -716,7 +715,7 @@ <h3>Public Instance Methods</h3>


<div class="method-source-code" id="normalize-source">
<pre><span class="ruby-comment"># File lib/rexml/parsers/baseparser.rb, line 458</span>
<pre><span class="ruby-comment"># File lib/rexml/parsers/baseparser.rb, line 457</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">normalize</span>( <span class="ruby-identifier">input</span>, <span class="ruby-identifier">entities</span>=<span class="ruby-keyword">nil</span>, <span class="ruby-identifier">entity_filter</span>=<span class="ruby-keyword">nil</span> )
<span class="ruby-identifier">copy</span> = <span class="ruby-identifier">input</span>.<span class="ruby-identifier">clone</span>
<span class="ruby-comment"># Doing it like this rather than in a loop improves the speed</span>
Expand Down Expand Up @@ -760,7 +759,7 @@ <h3>Public Instance Methods</h3>


<div class="method-source-code" id="peek-source">
<pre><span class="ruby-comment"># File lib/rexml/parsers/baseparser.rb, line 181</span>
<pre><span class="ruby-comment"># File lib/rexml/parsers/baseparser.rb, line 180</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">peek</span> <span class="ruby-identifier">depth</span>=<span class="ruby-value">0</span>
<span class="ruby-identifier">raise</span> <span class="ruby-node">%Q[Illegal argument &quot;#{depth}&quot;]</span> <span class="ruby-keyword">if</span> <span class="ruby-identifier">depth</span> <span class="ruby-operator">&lt;</span> <span class="ruby-value">-1</span>
<span class="ruby-identifier">temp</span> = []
Expand Down Expand Up @@ -803,7 +802,7 @@ <h3>Public Instance Methods</h3>


<div class="method-source-code" id="position-source">
<pre><span class="ruby-comment"># File lib/rexml/parsers/baseparser.rb, line 150</span>
<pre><span class="ruby-comment"># File lib/rexml/parsers/baseparser.rb, line 149</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">position</span>
<span class="ruby-keyword">if</span> <span class="ruby-ivar">@source</span>.<span class="ruby-identifier">respond_to?</span> <span class="ruby-value">:position</span>
<span class="ruby-ivar">@source</span>.<span class="ruby-identifier">position</span>
Expand Down Expand Up @@ -841,7 +840,7 @@ <h3>Public Instance Methods</h3>


<div class="method-source-code" id="pull-source">
<pre><span class="ruby-comment"># File lib/rexml/parsers/baseparser.rb, line 196</span>
<pre><span class="ruby-comment"># File lib/rexml/parsers/baseparser.rb, line 195</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">pull</span>
<span class="ruby-identifier">pull_event</span>.<span class="ruby-identifier">tap</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">event</span><span class="ruby-operator">|</span>
<span class="ruby-ivar">@listeners</span>.<span class="ruby-identifier">each</span> <span class="ruby-keyword">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">listener</span><span class="ruby-operator">|</span>
Expand Down Expand Up @@ -878,7 +877,7 @@ <h3>Public Instance Methods</h3>


<div class="method-source-code" id="stream-3D-source">
<pre><span class="ruby-comment"># File lib/rexml/parsers/baseparser.rb, line 140</span>
<pre><span class="ruby-comment"># File lib/rexml/parsers/baseparser.rb, line 139</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">stream=</span>( <span class="ruby-identifier">source</span> )
<span class="ruby-ivar">@source</span> = <span class="ruby-constant">SourceFactory</span>.<span class="ruby-identifier">create_from</span>( <span class="ruby-identifier">source</span> )
<span class="ruby-ivar">@closed</span> = <span class="ruby-keyword">nil</span>
Expand Down Expand Up @@ -917,7 +916,7 @@ <h3>Public Instance Methods</h3>


<div class="method-source-code" id="unnormalize-source">
<pre><span class="ruby-comment"># File lib/rexml/parsers/baseparser.rb, line 474</span>
<pre><span class="ruby-comment"># File lib/rexml/parsers/baseparser.rb, line 473</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">unnormalize</span>( <span class="ruby-identifier">string</span>, <span class="ruby-identifier">entities</span>=<span class="ruby-keyword">nil</span>, <span class="ruby-identifier">filter</span>=<span class="ruby-keyword">nil</span> )
<span class="ruby-identifier">rv</span> = <span class="ruby-identifier">string</span>.<span class="ruby-identifier">gsub</span>( <span class="ruby-regexp">/\r\n?/</span>, <span class="ruby-string">&quot;\n&quot;</span> )
<span class="ruby-identifier">matches</span> = <span class="ruby-identifier">rv</span>.<span class="ruby-identifier">scan</span>( <span class="ruby-constant">REFERENCE_RE</span> )
Expand Down Expand Up @@ -974,7 +973,7 @@ <h3>Public Instance Methods</h3>


<div class="method-source-code" id="unshift-source">
<pre><span class="ruby-comment"># File lib/rexml/parsers/baseparser.rb, line 171</span>
<pre><span class="ruby-comment"># File lib/rexml/parsers/baseparser.rb, line 170</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">unshift</span> <span class="ruby-identifier">token</span>
<span class="ruby-ivar">@stack</span>.<span class="ruby-identifier">unshift</span>(<span class="ruby-identifier">token</span>)
<span class="ruby-keyword">end</span></pre>
Expand Down
Binary file modified js/search_index.js.gz
Binary file not shown.

0 comments on commit ba63074

Please sign in to comment.