presentations/highlight-js/test/markup/cs/titles.expect.txt

20 lines
1.1 KiB
Text
Raw Normal View History

2018-12-07 08:48:05 -06:00
<span class="hljs-keyword">namespace</span> <span class="hljs-title">Foo</span> <span class="hljs-comment">// namespace</span>
{
<span class="hljs-keyword">public</span> <span class="hljs-keyword">class</span> <span class="hljs-title">Greet</span> : <span class="hljs-title">Base</span>, <span class="hljs-title">Other</span> <span class="hljs-comment">// class</span>
{
<span class="hljs-function"><span class="hljs-keyword">public</span> <span class="hljs-title">Greet</span>(<span class="hljs-params"><span class="hljs-keyword">string</span> who</span>) <span class="hljs-comment">// function</span></span>
{
Who = who;
}
<span class="hljs-function"><span class="hljs-keyword">int</span>[] <span class="hljs-title">f</span>(<span class="hljs-params"><span class="hljs-keyword">int</span> val = <span class="hljs-number">0</span></span>)</span>
{
<span class="hljs-keyword">new</span> Type();
<span class="hljs-keyword">return</span> getType();
<span class="hljs-keyword">throw</span> getError();
<span class="hljs-keyword">await</span> Stuff();
}
}
}