Warning, file /frameworks/syntax-highlighting/autotests/html/highlight.v.dark.html was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 <!DOCTYPE html>
0002 <html><head>
0003 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
0004 <title>highlight.v</title>
0005 <meta name="generator" content="KF5::SyntaxHighlighting - Definition (V) - Theme (Breeze Dark)"/>
0006 </head><body style="background-color:#232629;color:#cfcfc2"><pre>
0007 <span style="color:#7a7c7d;">// Comment</span>
0008 <span style="color:#7a7c7d;">/**</span>
0009 <span style="color:#7a7c7d;"> * comment 2</span>
0010 <span style="color:#7a7c7d;"> */</span>
0011 <span style="font-weight:bold;">fn</span> main() {
0012     <span style="color:#2980b9;">mut</span> s := <span style="color:#f44f4f;">''</span>
0013     <span style="color:#2980b9;">mut</span> str := <span style="color:#f44f4f;">'asd</span><span style="color:#3daee9;">\n</span><span style="color:#f44f4f;">'</span>
0014     <span style="color:#2980b9;">mut</span> str := <span style="color:#f44f4f;">'asd </span><span style="color:#3daee9;">\'</span><span style="color:#f44f4f;"> asd'</span>
0015     <span style="color:#2980b9;">mut</span> str := <span style="color:#f44f4f;">&quot;asd </span><span style="color:#3daee9;">\&quot;</span><span style="color:#f44f4f;"> asd&quot;</span>
0016     <span style="color:#2980b9;">mut</span> ch := <span style="color:#3daee9;">`a`</span>
0017     <span style="color:#2980b9;">mut</span> n := <span style="color:#f67400;">1.2</span>
0018     <span style="color:#2980b9;">mut</span> d := <span style="color:#f67400;">12</span>
0019     <span style="font-weight:bold;">for</span> n <span style="font-weight:bold;">in</span> <span style="color:#f67400;">1</span> .. <span style="color:#f67400;">101</span> {
0020         <span style="font-weight:bold;">if</span> n % <span style="color:#f67400;">3</span> == <span style="color:#f67400;">0</span> {
0021             s += <span style="color:#f44f4f;">'Fizz'</span>
0022         }
0023         <span style="font-weight:bold;">if</span> n % <span style="color:#f67400;">5</span> == <span style="color:#f67400;">0</span> {
0024             s += <span style="color:#f44f4f;">'Buzz'</span>
0025         }
0026         <span style="font-weight:bold;">if</span> s == <span style="color:#f44f4f;">''</span> {
0027             <span style="color:#7f8c8d;">println</span>(n)
0028         } <span style="font-weight:bold;">else</span> {
0029             <span style="color:#7f8c8d;">println</span>(s)
0030         }
0031         s = <span style="color:#f44f4f;">''</span>
0032     }
0033 }
0034 </pre></body></html>