Debian Codegraph @

autotests/html/test.dart.html

raw
1 <!DOCTYPE html>
2 <html><head>
3 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
4 <title>test.dart</title>
5 <meta name="generator" content="KF5::SyntaxHighlighting - Definition (Dart) - Theme (Breeze Light)"/>
6 </head><body style="background-color:#ffffff;color:#1f1c1b"><pre>
7 <span style="color:#898887;">/**</span>
8 <span style="color:#898887;"> * print a number</span>
9 <span style="color:#898887;"> * &quot;helo&quot;</span>
10 <span style="color:#898887;"> * 'string'</span>
11 <span style="color:#898887;"> */</span>
12
13 <span style="color:#0057ae;">int</span> printNum(<span style="color:#0057ae;">int</span> anum) {
14 print(<span style="color:#bf0303;">&quot;This is a $anum</span><span style="color:#3daee9;">\n</span><span style="color:#bf0303;">&quot;</span>);
15 print(<span style="color:#bf0303;">'This is a $anum</span><span style="color:#3daee9;">\n</span><span style="color:#bf0303;"> </span><span style="color:#3daee9;">\'</span><span style="color:#bf0303;">world</span><span style="color:#3daee9;">\'</span><span style="color:#bf0303;">'</span>);
16 <span style="font-weight:bold;">if</span> (anum <span style="color:#ca60ca;">==</span> <span style="color:#b08000;">1</span>) {
17 <span style="font-weight:bold;">return</span> <span style="color:#b08000;">1</span>;
18 } <span style="font-weight:bold;">else</span> {
19 <span style="font-weight:bold;">return</span> <span style="color:#b08000;">2</span>;
20 }
21 }
22
23 <span style="color:#898887;">// What are you doing?</span>
24 <span style="color:#0057ae;">void</span> main() {
25 <span style="color:#0057ae;">int</span> nn <span style="color:#ca60ca;">=</span> <span style="color:#b08000;">10</span>;
26 <span style="color:#0057ae;">bool</span> boolean <span style="color:#ca60ca;">=</span> <span style="color:#aa5500;">true</span>;
27 printNum(nn);
28 }
29 </pre></body></html>