Skip to content

Commit

Permalink
Generate (c1b64c1)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Jul 16, 2024
1 parent 330a9ed commit d6020cb
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 12 deletions.
24 changes: 12 additions & 12 deletions REXML/Parsers/BaseParser.html
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ <h3>Public Class Methods</h3>


<div class="method-source-code" id="new-source">
<pre><span class="ruby-comment"># File lib/rexml/parsers/baseparser.rb, line 146</span>
<pre><span class="ruby-comment"># File lib/rexml/parsers/baseparser.rb, line 147</span>
<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> = []
Expand Down Expand Up @@ -330,7 +330,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 152</span>
<pre><span class="ruby-comment"># File lib/rexml/parsers/baseparser.rb, line 153</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 All @@ -353,7 +353,7 @@ <h3>Public Instance Methods</h3>
<p>Returns true if there are no more events</p>

<div class="method-source-code" id="empty-3F-source">
<pre><span class="ruby-comment"># File lib/rexml/parsers/baseparser.rb, line 178</span>
<pre><span class="ruby-comment"># File lib/rexml/parsers/baseparser.rb, line 179</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 All @@ -376,7 +376,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 497</span>
<pre><span class="ruby-comment"># File lib/rexml/parsers/baseparser.rb, line 498</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 @@ -405,7 +405,7 @@ <h3>Public Instance Methods</h3>
<p>Returns true if there are more events. Synonymous with !empty?</p>

<div class="method-source-code" id="has_next-3F-source">
<pre><span class="ruby-comment"># File lib/rexml/parsers/baseparser.rb, line 183</span>
<pre><span class="ruby-comment"># File lib/rexml/parsers/baseparser.rb, line 184</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 All @@ -428,7 +428,7 @@ <h3>Public Instance Methods</h3>
<p>Escapes all possible entities</p>

<div class="method-source-code" id="normalize-source">
<pre><span class="ruby-comment"># File lib/rexml/parsers/baseparser.rb, line 508</span>
<pre><span class="ruby-comment"># File lib/rexml/parsers/baseparser.rb, line 509</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 @@ -462,7 +462,7 @@ <h3>Public Instance Methods</h3>
<p>Peek at the <code>depth</code> event in the stack. The first element on the stack is at depth 0. If <code>depth</code> is -1, will parse to the end of the input stream and return the last event, which is always :end_document. Be aware that this causes the stream to be parsed up to the <code>depth</code> event, so you can effectively pre-parse the entire document (pull the entire thing into memory) using this method.</p>

<div class="method-source-code" id="peek-source">
<pre><span class="ruby-comment"># File lib/rexml/parsers/baseparser.rb, line 199</span>
<pre><span class="ruby-comment"># File lib/rexml/parsers/baseparser.rb, line 200</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 @@ -495,7 +495,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 168</span>
<pre><span class="ruby-comment"># File lib/rexml/parsers/baseparser.rb, line 169</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 @@ -523,7 +523,7 @@ <h3>Public Instance Methods</h3>
<p>Returns the next event. This is a <code>PullEvent</code> object.</p>

<div class="method-source-code" id="pull-source">
<pre><span class="ruby-comment"># File lib/rexml/parsers/baseparser.rb, line 214</span>
<pre><span class="ruby-comment"># File lib/rexml/parsers/baseparser.rb, line 215</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier ruby-title">pull</span>
<span class="ruby-ivar">@source</span>.<span class="ruby-identifier">drop_parsed_content</span>

Expand Down Expand Up @@ -552,7 +552,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 158</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">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 @@ -581,7 +581,7 @@ <h3>Public Instance Methods</h3>
<p>Unescapes all possible entities</p>

<div class="method-source-code" id="unnormalize-source">
<pre><span class="ruby-comment"># File lib/rexml/parsers/baseparser.rb, line 524</span>
<pre><span class="ruby-comment"># File lib/rexml/parsers/baseparser.rb, line 525</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-keyword">if</span> <span class="ruby-identifier">string</span>.<span class="ruby-identifier">include?</span>(<span class="ruby-string">&quot;\r&quot;</span>)
<span class="ruby-identifier">rv</span> = <span class="ruby-identifier">string</span>.<span class="ruby-identifier">gsub</span>( <span class="ruby-constant">Private</span><span class="ruby-operator">::</span><span class="ruby-constant">CARRIAGE_RETURN_NEWLINE_PATTERN</span>, <span class="ruby-string">&quot;\n&quot;</span> )
Expand Down Expand Up @@ -632,7 +632,7 @@ <h3>Public Instance Methods</h3>
<p>Push an event back on the head of the stream. This method has (theoretically) infinite depth.</p>

<div class="method-source-code" id="unshift-source">
<pre><span class="ruby-comment"># File lib/rexml/parsers/baseparser.rb, line 189</span>
<pre><span class="ruby-comment"># File lib/rexml/parsers/baseparser.rb, line 190</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
2 changes: 2 additions & 0 deletions REXML/Parsers/BaseParser/Private.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ <h3>Constants</h3>
<dd>
<dt id="CLOSE_PATTERN">CLOSE_PATTERN
<dd>
<dt id="COMMENT_TERM">COMMENT_TERM
<dd>
<dt id="DEFAULT_ENTITIES_PATTERNS">DEFAULT_ENTITIES_PATTERNS
<dd>
<dt id="ENTITYDECL_PATTERN">ENTITYDECL_PATTERN
Expand Down
Binary file modified js/search_index.js.gz
Binary file not shown.

0 comments on commit d6020cb

Please sign in to comment.