doc/TermUtils/AP/Parser.html in term_utils-0.4.0 vs doc/TermUtils/AP/Parser.html in term_utils-0.5.0

- old
+ new

@@ -4,11 +4,11 @@ <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title> Class: TermUtils::AP::Parser - &mdash; Documentation by YARD 0.9.25 + &mdash; Documentation by YARD 0.9.34 </title> <link rel="stylesheet" href="../../css/style.css" type="text/css" /> @@ -336,16 +336,16 @@ <tr> <td> <pre class="lines"> -64 65 -66</pre> +66 +67</pre> </td> <td> - <pre class="code"><span class="info file"># File 'lib/term_utils/ap/parser.rb', line 64</span> + <pre class="code"><span class="info file"># File 'lib/term_utils/ap/parser.rb', line 65</span> <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_eval_article_min_occurs'>eval_article_min_occurs</span><span class='lparen'>(</span><span class='id identifier rubyid_articles'>articles</span><span class='rparen'>)</span> <span class='id identifier rubyid_articles'>articles</span><span class='period'>.</span><span class='id identifier rubyid_inject'>inject</span><span class='lparen'>(</span><span class='int'>0</span><span class='rparen'>)</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_acc'>acc</span><span class='comma'>,</span> <span class='id identifier rubyid_a'>a</span><span class='op'>|</span> <span class='id identifier rubyid_acc'>acc</span> <span class='op'>+</span> <span class='id identifier rubyid_a'>a</span><span class='period'>.</span><span class='id identifier rubyid_min_occurs'>min_occurs</span> <span class='rbrace'>}</span> <span class='kw'>end</span></pre> </td> @@ -421,28 +421,28 @@ <tr> <td> <pre class="lines"> -51 52 53 54 55 56 57 58 -59</pre> +59 +60</pre> </td> <td> - <pre class="code"><span class="info file"># File 'lib/term_utils/ap/parser.rb', line 51</span> + <pre class="code"><span class="info file"># File 'lib/term_utils/ap/parser.rb', line 52</span> <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_match_shortcut_flag'>match_shortcut_flag</span><span class='lparen'>(</span><span class='id identifier rubyid_shortcut_flags'>shortcut_flags</span><span class='comma'>,</span> <span class='id identifier rubyid_arg'>arg</span><span class='rparen'>)</span> <span class='id identifier rubyid_shortcut_flags'>shortcut_flags</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_label'>label</span><span class='comma'>,</span> <span class='id identifier rubyid_flag'>flag</span><span class='op'>|</span> <span class='kw'>next</span> <span class='kw'>unless</span> <span class='id identifier rubyid_arg'>arg</span><span class='period'>.</span><span class='id identifier rubyid_start_with?'>start_with?</span> <span class='id identifier rubyid_label'>label</span> - <span class='kw'>return</span> <span class='lbracket'>[</span><span class='id identifier rubyid_flag'>flag</span><span class='period'>.</span><span class='id identifier rubyid_label'>label</span><span class='comma'>,</span> <span class='id identifier rubyid_arg'>arg</span><span class='lbracket'>[</span><span class='id identifier rubyid_label'>label</span><span class='period'>.</span><span class='id identifier rubyid_length'>length</span><span class='op'>..</span><span class='op'>-</span><span class='int'>1</span><span class='rbracket'>]</span><span class='rbracket'>]</span> + <span class='kw'>return</span> <span class='lbracket'>[</span><span class='id identifier rubyid_flag'>flag</span><span class='period'>.</span><span class='id identifier rubyid_label'>label</span><span class='comma'>,</span> <span class='id identifier rubyid_arg'>arg</span><span class='lbracket'>[</span><span class='id identifier rubyid_label'>label</span><span class='period'>.</span><span class='id identifier rubyid_length'>length</span><span class='op'>..</span><span class='rbracket'>]</span><span class='rbracket'>]</span> <span class='kw'>end</span> <span class='kw'>nil</span> <span class='kw'>end</span></pre> </td> @@ -502,20 +502,48 @@ <li> <span class='name'>opts</span> - <span class='type'>(<tt>Hash</tt>)</span> + <span class='type'>(<tt>Hash&lt;Symbol, Object&gt;</tt>)</span> <em class="default">(defaults to: <tt>{}</tt>)</em> </li> </ul> + + + + + + + + <p class="tag_title">Options Hash (<tt>opts</tt>):</p> + <ul class="option"> + + <li> + <span class="name">:strict</span> + <span class="type">(<tt>Boolean</tt>)</span> + <span class="default"> + + </span> + + &mdash; <div class='inline'> +<p>Whether the Syntax must be considered as strict.</p> +</div> + + </li> + + </ul> + + + + <p class="tag_title">Returns:</p> <ul class="return"> <li> @@ -554,25 +582,25 @@ <tr> <td> <pre class="lines"> -34 35 36 37 38 39 40 41 42 43 44 -45</pre> +45 +46</pre> </td> <td> - <pre class="code"><span class="info file"># File 'lib/term_utils/ap/parser.rb', line 34</span> + <pre class="code"><span class="info file"># File 'lib/term_utils/ap/parser.rb', line 35</span> <span class='kw'>def</span> <span class='id identifier rubyid_parse_arguments'>parse_arguments</span><span class='lparen'>(</span><span class='id identifier rubyid_syntax'>syntax</span><span class='comma'>,</span> <span class='id identifier rubyid_arguments'>arguments</span><span class='comma'>,</span> <span class='id identifier rubyid_opts'>opts</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span> <span class='id identifier rubyid_syntax'>syntax</span> <span class='op'>=</span> <span class='id identifier rubyid_syntax'>syntax</span><span class='period'>.</span><span class='id identifier rubyid_dup'>dup</span> <span class='id identifier rubyid_syntax'>syntax</span><span class='period'>.</span><span class='id identifier rubyid_finalize!'>finalize!</span> <span class='id identifier rubyid_arguments'>arguments</span> <span class='op'>=</span> <span class='id identifier rubyid_arguments'>arguments</span><span class='period'>.</span><span class='id identifier rubyid_dup'>dup</span> @@ -592,12 +620,12 @@ </div> </div> <div id="footer"> - Generated on Sun Aug 2 18:35:09 2020 by - <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a> - 0.9.25 (ruby-2.6.5). + Generated on Wed Aug 9 17:34:26 2023 by + <a href="https://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a> + 0.9.34 (ruby-3.2.2). </div> </div> </body> </html> \ No newline at end of file