summaryrefslogtreecommitdiffabout
path: root/htdocs/quickref/metasyntax.chtml
Side-by-side diff
Diffstat (limited to 'htdocs/quickref/metasyntax.chtml') (more/less context) (show whitespace changes)
-rw-r--r--htdocs/quickref/metasyntax.chtml37
1 files changed, 32 insertions, 5 deletions
diff --git a/htdocs/quickref/metasyntax.chtml b/htdocs/quickref/metasyntax.chtml
index a63f596..4efc37c 100644
--- a/htdocs/quickref/metasyntax.chtml
+++ b/htdocs/quickref/metasyntax.chtml
@@ -45,5 +45,6 @@
<blockquote class="qr_sample">
+ <div>
&nbsp;&lt;body&gt;<br/>
+ &nbsp;&nbsp;Here is the way we count.&lt;br/&gt;<br/>
<em><a href="#qr__line" title="% description">%</a> for(int t=0;t&lt;10;t++) {<br/></em>
- &nbsp;&nbsp;&nbsp;Here is the way we count.&lt;br/&gt;<br/>
&nbsp;&nbsp;&nbsp;Just saying out loud: <a href="#qr__inline" title="&lt;% ... %&gt; description">&lt;%</a> t <a href="#qr__inline" title="&lt;% ... %&gt; description">%&gt;</a>&lt;br/&gt;<br/>
@@ -51,2 +52,3 @@
&nbsp;&lt;/body&gt;
+ </div>
</blockquote>
@@ -65,6 +67,8 @@
<blockquote class="qr_sample">
+ <div>
+ &nbsp;&nbsp;Here is the way we count.&lt;br/&gt;<br/>
<a href="#qr__line" title="% description">%</a> for(int t=0;t&lt;10;t++) {<br/>
- &nbsp;&nbsp;&nbsp;Here is the way we count.&lt;br/&gt;<br/>
<em>&nbsp;&nbsp;&nbsp;Just saying out loud: <a href="#qr__inline" title="&lt;% ... %&gt; description">&lt;%</a> t <a href="#qr__inline" title="&lt;% ... %&gt; description">%&gt;</a>&lt;br/&gt;<br/></em>
<a href="#qr__line" title="% description">%</a> }
+ </div>
</blockquote>
@@ -81,2 +85,3 @@
<dd>
+ <p>
Escape from the output mode to code mode. Opposite to <code><a href="#qr__output" title="&lt;%output&gt; description">&lt;%output&gt;</a></code>. Roughly the same as <code><a href="#qr__output" title="&lt;%output&gt; description">&lt;/%output&gt;</a> <kbd>...</kbd> <a href="#qr__output" title="&lt;%output&gt; description">&lt;%output&gt;</a></code> (note the reverse order), but more self-explanatory and applies to more cases.
@@ -84,2 +89,3 @@
<blockquote class="qr_sample">
+ <div>
&lt;body&gt;<br/>
@@ -93,2 +99,3 @@
&lt;/body&gt;
+ </div>
</blockquote>
@@ -111,2 +118,3 @@
<blockquote class="qr_sample">
+ <div>
<em><a href="#qr__codemethod" title="&lt;%codemethod ... %&gt; description">&lt;%codemethod</a> std::string ua() <a href="#qr__codemethod" title="&lt;%codemethod ... %&gt; description">%&gt;</a><br/>
@@ -115,2 +123,3 @@
The user agent is: <a href="#qr__inline" title="&lt;% ... %&gt; description">&lt;%</a> ua() <a href="#qr__inline" title="&lt;% ... %&gt; description">%&gt;</a><br/>
+ </div>
</blockquote>
@@ -133,2 +142,3 @@
<blockquote class="qr_sample">
+ <div>
<a href="#qr___var" title="%%var description">%%var</a> bool is_msie;<br/>
@@ -137,2 +147,3 @@
<a href="#qr__constructor" title="&lt;%constructor&gt; description">&lt;/%constructor&gt;</a><br/></em>
+ </div>
</blockquote>
@@ -161,2 +172,3 @@
<blockquote class="qr_sample">
+ <div>
<em><a href="#qr___decl" title="%%decl description">%%decl</a> #include &lt;string&gt;<br/></em>
@@ -169,2 +181,3 @@
<a href="#qr__method" title="&lt;%method ... %&gt; description">&lt;/%method&gt;</a>
+ </div>
</blockquote>
@@ -183,4 +196,6 @@
<blockquote class="qr_sample">
+ <div>
<em><a href="#qr___derive" title="%%derive description">%%derive</a> pagelayout = "/ancestry/page_layout.chtml";<br/></em>
<a href="#qr__line" title="% description">%</a> pagelayout::member_function();
+ </div>
</blockquote>
@@ -203,2 +218,3 @@
<blockquote class="qr_sample">
+ <div>
<a href="#qr___var" title="%%var description">%%var</a> type_t *tmp = 0;<br/>
@@ -210,2 +226,3 @@
<a href="#qr__destructor" title="&lt;%destructor&gt; description">&lt;/%destructor&gt;</a><br/></em>
+ </div>
</blockquote>
@@ -234,3 +251,4 @@
<blockquote class="qr_sample">
- <em><a href"#qr___impl" title="%%impl description">%%impl</a> #include &lt;string.h&gt;<br/></em>
+ <div>
+ <em><a href="#qr___impl" title="%%impl description">%%impl</a> #include &lt;string.h&gt;<br/></em>
<a href="#qr__method" title="&lt;%method ... %gt; description">&lt;%method</a> void output_if_contains(const char *haystack,const char *needle) <a href="#qr__method" title="&lt;%method ... %gt; description">%&gt;</a><br/>
@@ -253,2 +271,3 @@
<a href="#qr__method" title="&lt;%method ... %&gt; description">&lt;/%method&gt;</a><br/>
+ </div>
</blockquote>
@@ -271,2 +290,3 @@
<blockquote class="qr_sample">
+ <div>
<em><a href="#qr__method" title="&lt;%method ... %&gt; description">&lt;%method</a> void emphasized(const char *t) <a href="#qr__method" title="&lt;%method ... %&gt; description">%&gt;</a><br/>
@@ -275,2 +295,3 @@
<a href="#qr__line" title="% description">%</a> emphasized("emphasized text");
+ </div>
</blockquote>
@@ -291,2 +312,3 @@
<blockquote class="qr_sample">
+ <div>
<a href="#qr__codemethod" title="&lt;%codemethod ... %&gt; description">&lt;%codemethod</a> void count() <a href="#qr__codemethod" title="&lt;%codemethod ... &gt; description">%&gt;</a><br/>
@@ -299,2 +321,3 @@
<a href="#qr__line" title="% description">%</a> count();
+ </div>
</blockquote>
@@ -317,4 +340,6 @@
<blockquote class="qr_sample">
+ <div>
<a href="#qr___derive" title="%%derive description">%%derive</a> pagelayout = "/ancestry/page_layout.chtml";<br/>
<em><a href="#qr___pragma" title="%%pragma description">%%pragma</a> main=pagelayout</em>
+ </div>
</blockquote>
@@ -325,4 +350,4 @@
<a id="qr___var" name="qr___var" title="member variable declaration">
- <code>%%var <kbd>type_t</kbd> <kbd>varname</kbd>;<br/>
- <code>%%var <kbd>type_t</kbd> <kbd>varname</kbd> = <kbd>initalizer</kbd>;<br/>
+ <code>%%var <kbd>type_t</kbd> <kbd>varname</kbd>;</code><br/>
+ <code>%%var <kbd>type_t</kbd> <kbd>varname</kbd> = <kbd>initalizer</kbd>;</code><br/>
</a>
@@ -336,2 +361,3 @@
<blockquote class="qr_sample">
+ <div>
<em><a href="#qr___var" title="%%var description">%%var</a> std::string strval = "default value";<br/>
@@ -339,2 +365,3 @@
<a href="#qr___var" title="%%var description">%%var</a> int whatnot;</em>
+ </div>
</blockquote>