Warning, file /frameworks/syntax-highlighting/autotests/html/test.dart.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>test.dart</title> 0005 <meta name="generator" content="KF5::SyntaxHighlighting - Definition (Dart) - Theme (Breeze Light)"/> 0006 </head><body style="background-color:#ffffff;color:#1f1c1b"><pre> 0007 <span style="color:#898887;">/**</span> 0008 <span style="color:#898887;"> * print a number</span> 0009 <span style="color:#898887;"> * "helo"</span> 0010 <span style="color:#898887;"> * 'string'</span> 0011 <span style="color:#898887;"> */</span> 0012 0013 <span style="color:#0057ae;">int</span> printNum(<span style="color:#0057ae;">int</span> anum) { 0014 print(<span style="color:#bf0303;">"This is a $anum</span><span style="color:#3daee9;">\n</span><span style="color:#bf0303;">"</span>); 0015 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>); 0016 <span style="font-weight:bold;">if</span> (anum <span style="color:#ca60ca;">==</span> <span style="color:#b08000;">1</span>) { 0017 <span style="font-weight:bold;">return</span> <span style="color:#b08000;">1</span>; 0018 } <span style="font-weight:bold;">else</span> { 0019 <span style="font-weight:bold;">return</span> <span style="color:#b08000;">2</span>; 0020 } 0021 } 0022 0023 <span style="color:#898887;">// What are you doing?</span> 0024 <span style="color:#0057ae;">void</span> main() { 0025 <span style="color:#0057ae;">int</span> nn <span style="color:#ca60ca;">=</span> <span style="color:#b08000;">10</span>; 0026 <span style="color:#0057ae;">bool</span> boolean <span style="color:#ca60ca;">=</span> <span style="color:#aa5500;">true</span>; 0027 printNum(nn); 0028 } 0029 </pre></body></html>