Skip to content

Commit

Permalink
deploy: 0e42c7f
Browse files Browse the repository at this point in the history
  • Loading branch information
raviqqe committed Feb 18, 2024
1 parent 90b368d commit bfe24b4
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/melior_macro/dialect/operation.rs.html
Original file line number Diff line number Diff line change
Expand Up @@ -407,10 +407,10 @@
operation_name: <span class="kw-2">&amp;</span><span class="lifetime">'a </span>str,
summary: <span class="kw-2">&amp;</span><span class="lifetime">'a </span>str,
can_infer_type: bool,
regions: Vec&lt;Region&lt;<span class="lifetime">'a</span>&gt;&gt;,
successors: Vec&lt;Successor&lt;<span class="lifetime">'a</span>&gt;&gt;,
results: Vec&lt;OperationResult&lt;<span class="lifetime">'a</span>&gt;&gt;,
operands: Vec&lt;Operand&lt;<span class="lifetime">'a</span>&gt;&gt;,
regions: Vec&lt;Region&lt;<span class="lifetime">'a</span>&gt;&gt;,
successors: Vec&lt;Successor&lt;<span class="lifetime">'a</span>&gt;&gt;,
attributes: Vec&lt;Attribute&lt;<span class="lifetime">'a</span>&gt;&gt;,
derived_attributes: Vec&lt;Attribute&lt;<span class="lifetime">'a</span>&gt;&gt;,
}
Expand Down Expand Up @@ -515,14 +515,6 @@
sanitize_documentation(<span class="self">self</span>.definition.str_value(<span class="string">"description"</span>)<span class="question-mark">?</span>)
}

<span class="kw">pub fn </span>operands(<span class="kw-2">&amp;</span><span class="self">self</span>) -&gt; <span class="kw">impl </span>Iterator&lt;Item = <span class="kw-2">&amp;</span>Operand&lt;<span class="lifetime">'a</span>&gt;&gt; + Clone {
<span class="self">self</span>.operands.iter()
}

<span class="kw">pub fn </span>operand_len(<span class="kw-2">&amp;</span><span class="self">self</span>) -&gt; usize {
<span class="self">self</span>.operands.len()
}

<span class="kw">pub fn </span>results(<span class="kw-2">&amp;</span><span class="self">self</span>) -&gt; <span class="kw">impl </span>Iterator&lt;Item = <span class="kw-2">&amp;</span>OperationResult&lt;<span class="lifetime">'a</span>&gt;&gt; + Clone {
<span class="self">self</span>.results.iter()
}
Expand All @@ -531,14 +523,22 @@
<span class="self">self</span>.results.len()
}

<span class="kw">pub fn </span>successors(<span class="kw-2">&amp;</span><span class="self">self</span>) -&gt; <span class="kw">impl </span>Iterator&lt;Item = <span class="kw-2">&amp;</span>Successor&lt;<span class="lifetime">'a</span>&gt;&gt; {
<span class="self">self</span>.successors.iter()
<span class="kw">pub fn </span>operands(<span class="kw-2">&amp;</span><span class="self">self</span>) -&gt; <span class="kw">impl </span>Iterator&lt;Item = <span class="kw-2">&amp;</span>Operand&lt;<span class="lifetime">'a</span>&gt;&gt; + Clone {
<span class="self">self</span>.operands.iter()
}

<span class="kw">pub fn </span>operand_len(<span class="kw-2">&amp;</span><span class="self">self</span>) -&gt; usize {
<span class="self">self</span>.operands.len()
}

<span class="kw">pub fn </span>regions(<span class="kw-2">&amp;</span><span class="self">self</span>) -&gt; <span class="kw">impl </span>Iterator&lt;Item = <span class="kw-2">&amp;</span>Region&lt;<span class="lifetime">'a</span>&gt;&gt; {
<span class="self">self</span>.regions.iter()
}

<span class="kw">pub fn </span>successors(<span class="kw-2">&amp;</span><span class="self">self</span>) -&gt; <span class="kw">impl </span>Iterator&lt;Item = <span class="kw-2">&amp;</span>Successor&lt;<span class="lifetime">'a</span>&gt;&gt; {
<span class="self">self</span>.successors.iter()
}

<span class="kw">pub fn </span>attributes(<span class="kw-2">&amp;</span><span class="self">self</span>) -&gt; <span class="kw">impl </span>Iterator&lt;Item = <span class="kw-2">&amp;</span>Attribute&lt;<span class="lifetime">'a</span>&gt;&gt; {
<span class="self">self</span>.attributes.iter().chain(<span class="kw-2">&amp;</span><span class="self">self</span>.derived_attributes)
}
Expand Down

0 comments on commit bfe24b4

Please sign in to comment.