Skip to content

Commit

Permalink
deploy: a9b42f7
Browse files Browse the repository at this point in the history
  • Loading branch information
KaruroChori committed Jan 21, 2025
1 parent ae96507 commit c191c14
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 41 deletions.
2 changes: 1 addition & 1 deletion next/docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -170,5 +170,5 @@

<!--
MkDocs version : 1.6.1
Build Date UTC : 2025-01-21 04:01:16.820617+00:00
Build Date UTC : 2025-01-21 04:36:07.211717+00:00
-->
2 changes: 1 addition & 1 deletion next/docs/search/search_index.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions next/docs/syntax/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -288,15 +288,15 @@ <h3 id="forsub-attrxxx-for-propssub-attrxxx">for.SUB-ATTR.xxx &amp; for-props.SU
<p>As prop, attribute variants of <code>for</code> and <code>for-props</code>. They add attributes/values to the node they are defined within.</p>
<h3 id="valuexxx">value.xxx<a class="headerlink" href="#valuexxx" title="Permanent link">#</a></h3>
<p>As for the element version, to introduce the value of an expression as value of a prop <code>xxx</code>.</p>
<h3 id="enablexxx">enable.xxx<a class="headerlink" href="#enablexxx" title="Permanent link">#</a></h3>
<p>If the condition is true, the prop <code>xxx</code> is added with no specific value.</p>
<h3 id="propxxx">prop.xxx<a class="headerlink" href="#propxxx" title="Permanent link">#</a></h3>
<p>To generate new property whose name and value are determined by the pair passed as value.</p>
<h4 id="examples_4">Examples<a class="headerlink" href="#examples_4" title="Permanent link">#</a></h4>
<pre><code class="language-xml">&lt;tag s:prop.0=&quot;#hello|#world&quot; s:prop.1=&quot;#hallo|#Welt&quot;/&gt;
</code></pre>
<h3 id="when">when<a class="headerlink" href="#when" title="Permanent link">#</a></h3>
<p>To test if the current element should be shown, if and only if the expression is <code>true</code>.</p>
<p>To test if the current element should be rendered, if and only if the expression is <code>true</code>.</p>
<h3 id="whenxxx">when.xxx<a class="headerlink" href="#whenxxx" title="Permanent link">#</a></h3>
<p>If and only if the condition is true, the prop <code>xxx</code> is added as empty string. Else it is skipped.</p>

</div>
</div><footer>
Expand Down
71 changes: 35 additions & 36 deletions next/doxygen/vs-templ_8hpp_source.html
Original file line number Diff line number Diff line change
Expand Up @@ -235,45 +235,44 @@
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno"> 191</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *PROP_NAME_PROP;</div>
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno"> 192</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *PROP_VALUE_PROP;</div>
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno"> 193</span> </div>
<div class="line"><a id="l00194" name="l00194"></a><span class="lineno"> 194</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *ENABLE_PROP;</div>
<div class="line"><a id="l00195" name="l00195"></a><span class="lineno"> 195</span> </div>
<div class="line"><a id="l00196" name="l00196"></a><span class="lineno"> 196</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *WHEN_PROP;</div>
<div class="line"><a id="l00197" name="l00197"></a><span class="lineno"> 197</span> </div>
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno"> 198</span> <span class="keywordtype">void</span> prepare(<span class="keyword">const</span> <span class="keywordtype">char</span> * ns_prefix);</div>
<div class="line"><a id="l00199" name="l00199"></a><span class="lineno"> 199</span> </div>
<div class="line"><a id="l00200" name="l00200"></a><span class="lineno"> 200</span> <span class="keyword">inline</span> ~ns_strings(){<span class="keywordflow">if</span>(data!=<span class="keyword">nullptr</span>)<span class="keyword">delete</span>[] data;}</div>
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno"> 201</span> </div>
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno"> 202</span> }strings;</div>
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno"> 203</span> </div>
<div class="line"><a id="l00204" name="l00204"></a><span class="lineno"> 204</span> order_t order_from_string(std::string_view str);</div>
<div class="line"><a id="l00205" name="l00205"></a><span class="lineno"> 205</span> </div>
<div class="line"><a id="l00206" name="l00206"></a><span class="lineno"> 206</span> <span class="keyword">enum class</span> compare_result{</div>
<div class="line"><a id="l00207" name="l00207"></a><span class="lineno"> 207</span> FAILED_CAST = -3,</div>
<div class="line"><a id="l00208" name="l00208"></a><span class="lineno"> 208</span> NOT_COMPARABLE = -2,</div>
<div class="line"><a id="l00209" name="l00209"></a><span class="lineno"> 209</span> LESS = -1,</div>
<div class="line"><a id="l00210" name="l00210"></a><span class="lineno"> 210</span> EQUAL = 0,</div>
<div class="line"><a id="l00211" name="l00211"></a><span class="lineno"> 211</span> BIGGER = 1,</div>
<div class="line"><a id="l00212" name="l00212"></a><span class="lineno"> 212</span> };</div>
<div class="line"><a id="l00213" name="l00213"></a><span class="lineno"> 213</span> </div>
<div class="line"><a id="l00222" name="l00222"></a><span class="lineno"> 222</span> compare_result compare_symbols(<span class="keyword">const</span> symbol&amp; a, <span class="keyword">const</span> symbol&amp; b, order_t method) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00223" name="l00223"></a><span class="lineno"> 223</span> </div>
<div class="line"><a id="l00224" name="l00224"></a><span class="lineno"> 224</span> <span class="comment">//Transforming a string into a parsed symbol, setting an optional base root or leaving it to a default evaluation.</span></div>
<div class="line"><a id="l00225" name="l00225"></a><span class="lineno"> 225</span> std::optional&lt;symbol&gt; resolve_expr(<span class="keyword">const</span> std::string_view&amp; str, <span class="keyword">const</span> pugi::xml_node* base=<span class="keyword">nullptr</span>) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00226" name="l00226"></a><span class="lineno"> 226</span> </div>
<div class="line"><a id="l00227" name="l00227"></a><span class="lineno"> 227</span> std::vector&lt;pugi::xml_attribute&gt; prepare_props_data(<span class="keyword">const</span> pugi::xml_node&amp; base, <span class="keywordtype">int</span> limit, <span class="keywordtype">int</span> offset, <span class="keyword">const</span> <span class="keywordtype">char</span> *filter, order_t criterion);</div>
<div class="line"><a id="l00228" name="l00228"></a><span class="lineno"> 228</span> </div>
<div class="line"><a id="l00229" name="l00229"></a><span class="lineno"> 229</span> std::vector&lt;pugi::xml_node&gt; prepare_children_data(<span class="keyword">const</span> pugi::xml_node&amp; base, <span class="keywordtype">int</span> limit, <span class="keywordtype">int</span> offset, <span class="keyword">const</span> <span class="keywordtype">char</span> *filter, <span class="keyword">const</span> std::vector&lt;std::pair&lt;std::string,order_t&gt;&gt;&amp; criteria);</div>
<div class="line"><a id="l00230" name="l00230"></a><span class="lineno"> 230</span> </div>
<div class="line"><a id="l00231" name="l00231"></a><span class="lineno"> 231</span> <span class="keywordtype">void</span> _parse(std::optional&lt;pugi::xml_node_iterator&gt; stop_at);</div>
<div class="line"><a id="l00232" name="l00232"></a><span class="lineno"> 232</span> </div>
<div class="line"><a id="l00233" name="l00233"></a><span class="lineno"> 233</span> <span class="keywordtype">void</span> log(log_t::values, <span class="keyword">const</span> std::string&amp;) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00234" name="l00234"></a><span class="lineno"> 234</span> </div>
<div class="line"><a id="l00235" name="l00235"></a><span class="lineno"> 235</span>};</div>
<div class="line"><a id="l00194" name="l00194"></a><span class="lineno"> 194</span> </div>
<div class="line"><a id="l00195" name="l00195"></a><span class="lineno"> 195</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *WHEN_PROP;</div>
<div class="line"><a id="l00196" name="l00196"></a><span class="lineno"> 196</span> </div>
<div class="line"><a id="l00197" name="l00197"></a><span class="lineno"> 197</span> <span class="keywordtype">void</span> prepare(<span class="keyword">const</span> <span class="keywordtype">char</span> * ns_prefix);</div>
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno"> 198</span> </div>
<div class="line"><a id="l00199" name="l00199"></a><span class="lineno"> 199</span> <span class="keyword">inline</span> ~ns_strings(){<span class="keywordflow">if</span>(data!=<span class="keyword">nullptr</span>)<span class="keyword">delete</span>[] data;}</div>
<div class="line"><a id="l00200" name="l00200"></a><span class="lineno"> 200</span> </div>
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno"> 201</span> }strings;</div>
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno"> 202</span> </div>
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno"> 203</span> order_t order_from_string(std::string_view str);</div>
<div class="line"><a id="l00204" name="l00204"></a><span class="lineno"> 204</span> </div>
<div class="line"><a id="l00205" name="l00205"></a><span class="lineno"> 205</span> <span class="keyword">enum class</span> compare_result{</div>
<div class="line"><a id="l00206" name="l00206"></a><span class="lineno"> 206</span> FAILED_CAST = -3,</div>
<div class="line"><a id="l00207" name="l00207"></a><span class="lineno"> 207</span> NOT_COMPARABLE = -2,</div>
<div class="line"><a id="l00208" name="l00208"></a><span class="lineno"> 208</span> LESS = -1,</div>
<div class="line"><a id="l00209" name="l00209"></a><span class="lineno"> 209</span> EQUAL = 0,</div>
<div class="line"><a id="l00210" name="l00210"></a><span class="lineno"> 210</span> BIGGER = 1,</div>
<div class="line"><a id="l00211" name="l00211"></a><span class="lineno"> 211</span> };</div>
<div class="line"><a id="l00212" name="l00212"></a><span class="lineno"> 212</span> </div>
<div class="line"><a id="l00221" name="l00221"></a><span class="lineno"> 221</span> compare_result compare_symbols(<span class="keyword">const</span> symbol&amp; a, <span class="keyword">const</span> symbol&amp; b, order_t method) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00222" name="l00222"></a><span class="lineno"> 222</span> </div>
<div class="line"><a id="l00223" name="l00223"></a><span class="lineno"> 223</span> <span class="comment">//Transforming a string into a parsed symbol, setting an optional base root or leaving it to a default evaluation.</span></div>
<div class="line"><a id="l00224" name="l00224"></a><span class="lineno"> 224</span> std::optional&lt;symbol&gt; resolve_expr(<span class="keyword">const</span> std::string_view&amp; str, <span class="keyword">const</span> pugi::xml_node* base=<span class="keyword">nullptr</span>) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00225" name="l00225"></a><span class="lineno"> 225</span> </div>
<div class="line"><a id="l00226" name="l00226"></a><span class="lineno"> 226</span> std::vector&lt;pugi::xml_attribute&gt; prepare_props_data(<span class="keyword">const</span> pugi::xml_node&amp; base, <span class="keywordtype">int</span> limit, <span class="keywordtype">int</span> offset, <span class="keyword">const</span> <span class="keywordtype">char</span> *filter, order_t criterion);</div>
<div class="line"><a id="l00227" name="l00227"></a><span class="lineno"> 227</span> </div>
<div class="line"><a id="l00228" name="l00228"></a><span class="lineno"> 228</span> std::vector&lt;pugi::xml_node&gt; prepare_children_data(<span class="keyword">const</span> pugi::xml_node&amp; base, <span class="keywordtype">int</span> limit, <span class="keywordtype">int</span> offset, <span class="keyword">const</span> <span class="keywordtype">char</span> *filter, <span class="keyword">const</span> std::vector&lt;std::pair&lt;std::string,order_t&gt;&gt;&amp; criteria);</div>
<div class="line"><a id="l00229" name="l00229"></a><span class="lineno"> 229</span> </div>
<div class="line"><a id="l00230" name="l00230"></a><span class="lineno"> 230</span> <span class="keywordtype">void</span> _parse(std::optional&lt;pugi::xml_node_iterator&gt; stop_at);</div>
<div class="line"><a id="l00231" name="l00231"></a><span class="lineno"> 231</span> </div>
<div class="line"><a id="l00232" name="l00232"></a><span class="lineno"> 232</span> <span class="keywordtype">void</span> log(log_t::values, <span class="keyword">const</span> std::string&amp;) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00233" name="l00233"></a><span class="lineno"> 233</span> </div>
<div class="line"><a id="l00234" name="l00234"></a><span class="lineno"> 234</span>};</div>
</div>
<div class="line"><a id="l00235" name="l00235"></a><span class="lineno"> 235</span> </div>
<div class="line"><a id="l00236" name="l00236"></a><span class="lineno"> 236</span> </div>
<div class="line"><a id="l00237" name="l00237"></a><span class="lineno"> 237</span> </div>
<div class="line"><a id="l00237" name="l00237"></a><span class="lineno"> 237</span>}</div>
<div class="line"><a id="l00238" name="l00238"></a><span class="lineno"> 238</span>}</div>
<div class="line"><a id="l00239" name="l00239"></a><span class="lineno"> 239</span>}</div>
<div class="ttc" id="astructvs_1_1templ_1_1logctx__t_html"><div class="ttname"><a href="structvs_1_1templ_1_1logctx__t.html">vs::templ::logctx_t</a></div><div class="ttdef"><b>Definition</b> vs-templ.hpp:30</div></div>
<div class="ttc" id="astructvs_1_1templ_1_1preprocessor_1_1order__t_1_1modifiers__t_html"><div class="ttname"><a href="structvs_1_1templ_1_1preprocessor_1_1order__t_1_1modifiers__t.html">vs::templ::preprocessor::order_t::modifiers_t</a></div><div class="ttdef"><b>Definition</b> vs-templ.hpp:71</div></div>
<div class="ttc" id="astructvs_1_1templ_1_1preprocessor_1_1order__t_html"><div class="ttname"><a href="structvs_1_1templ_1_1preprocessor_1_1order__t.html">vs::templ::preprocessor::order_t</a></div><div class="ttdef"><b>Definition</b> vs-templ.hpp:57</div></div>
Expand Down

0 comments on commit c191c14

Please sign in to comment.