update inbox list
This commit is contained in:
6
vendor/scrivo/highlight.php/test/markup/cs/dotted-namespace.expect.txt
vendored
Normal file
6
vendor/scrivo/highlight.php/test/markup/cs/dotted-namespace.expect.txt
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
<span class="hljs-keyword">namespace</span> <span class="hljs-title">Dotted.Namespace</span>
|
||||
{
|
||||
<span class="hljs-keyword">class</span> <span class="hljs-title">MyClass</span>
|
||||
{
|
||||
}
|
||||
}
|
||||
6
vendor/scrivo/highlight.php/test/markup/cs/dotted-namespace.txt
vendored
Normal file
6
vendor/scrivo/highlight.php/test/markup/cs/dotted-namespace.txt
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
namespace Dotted.Namespace
|
||||
{
|
||||
class MyClass
|
||||
{
|
||||
}
|
||||
}
|
||||
4
vendor/scrivo/highlight.php/test/markup/cs/floats.expect.txt
vendored
Normal file
4
vendor/scrivo/highlight.php/test/markup/cs/floats.expect.txt
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
<span class="hljs-keyword">float</span> test = <span class="hljs-number">1.0f</span>;
|
||||
<span class="hljs-keyword">float</span> test2 = <span class="hljs-number">1.f</span>;
|
||||
<span class="hljs-keyword">float</span> test3 = <span class="hljs-number">1.0</span>;
|
||||
<span class="hljs-keyword">float</span> test4 = <span class="hljs-number">1</span>;
|
||||
4
vendor/scrivo/highlight.php/test/markup/cs/floats.txt
vendored
Normal file
4
vendor/scrivo/highlight.php/test/markup/cs/floats.txt
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
float test = 1.0f;
|
||||
float test2 = 1.f;
|
||||
float test3 = 1.0;
|
||||
float test4 = 1;
|
||||
16
vendor/scrivo/highlight.php/test/markup/cs/functions.expect.txt
vendored
Normal file
16
vendor/scrivo/highlight.php/test/markup/cs/functions.expect.txt
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
<span class="hljs-function"><span class="hljs-keyword">public</span> <span class="hljs-keyword">void</span> <span class="hljs-title">ExampleFunction1</span>(<span class="hljs-params"></span>)</span> {
|
||||
}
|
||||
|
||||
<span class="hljs-function"><span class="hljs-keyword">public</span> <span class="hljs-keyword">void</span> <span class="hljs-title">ExampleFunction2</span>(<span class="hljs-params"></span>)</span>
|
||||
{
|
||||
}
|
||||
|
||||
<span class="hljs-function"><span class="hljs-keyword">void</span> <span class="hljs-title">ExampleFunctionDeclaration1</span>(<span class="hljs-params"></span>)</span>;
|
||||
|
||||
<span class="hljs-function"><span class="hljs-keyword">void</span> <span class="hljs-title">ExampleFunctionDeclaration2</span>(<span class="hljs-params"></span>)</span>
|
||||
;
|
||||
|
||||
<span class="hljs-function"><span class="hljs-keyword">public</span> <span class="hljs-keyword">string</span> <span class="hljs-title">ExampleExpressionBodiedFunction1</span>(<span class="hljs-params"></span>)</span> => <span class="hljs-string">"dummy"</span>;
|
||||
|
||||
<span class="hljs-function"><span class="hljs-keyword">public</span> <span class="hljs-keyword">string</span> <span class="hljs-title">ExampleExpressionBodiedFunction2</span>(<span class="hljs-params"></span>)</span>
|
||||
=> <span class="hljs-string">"dummy"</span>;
|
||||
16
vendor/scrivo/highlight.php/test/markup/cs/functions.txt
vendored
Normal file
16
vendor/scrivo/highlight.php/test/markup/cs/functions.txt
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
public void ExampleFunction1() {
|
||||
}
|
||||
|
||||
public void ExampleFunction2()
|
||||
{
|
||||
}
|
||||
|
||||
void ExampleFunctionDeclaration1();
|
||||
|
||||
void ExampleFunctionDeclaration2()
|
||||
;
|
||||
|
||||
public string ExampleExpressionBodiedFunction1() => "dummy";
|
||||
|
||||
public string ExampleExpressionBodiedFunction2()
|
||||
=> "dummy";
|
||||
9
vendor/scrivo/highlight.php/test/markup/cs/string-interpolation.expect.txt
vendored
Normal file
9
vendor/scrivo/highlight.php/test/markup/cs/string-interpolation.expect.txt
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
<span class="hljs-keyword">var</span> istr = <span class="hljs-string">$"{{Hello}},\n<span class="hljs-subst">{<span class="hljs-string">$"\"<span class="hljs-subst">{nested}</span>\""</span> + <span class="hljs-string">@" and "</span> + <span class="hljs-string">$@"""<span class="hljs-subst">{nested}</span>"""</span> <span class="hljs-comment">/*comments*/</span> }</span>"</span>;
|
||||
<span class="hljs-keyword">var</span> ivstr = <span class="hljs-string">$@"{{Hello}},
|
||||
<span class="hljs-subst">{
|
||||
<span class="hljs-string">$"\"<span class="hljs-subst">{nested}</span>\""</span> + <span class="hljs-string">@"
|
||||
and
|
||||
"</span> + <span class="hljs-string">$@"
|
||||
""<span class="hljs-subst">{nested}</span>""
|
||||
"</span>
|
||||
<span class="hljs-comment">/*comments*/</span> }</span>"</span>;
|
||||
9
vendor/scrivo/highlight.php/test/markup/cs/string-interpolation.txt
vendored
Normal file
9
vendor/scrivo/highlight.php/test/markup/cs/string-interpolation.txt
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
var istr = $"{{Hello}},\n{$"\"{nested}\"" + @" and " + $@"""{nested}""" /*comments*/ }";
|
||||
var ivstr = $@"{{Hello}},
|
||||
{
|
||||
$"\"{nested}\"" + @"
|
||||
and
|
||||
" + $@"
|
||||
""{nested}""
|
||||
"
|
||||
/*comments*/ }";
|
||||
19
vendor/scrivo/highlight.php/test/markup/cs/titles.expect.txt
vendored
Normal file
19
vendor/scrivo/highlight.php/test/markup/cs/titles.expect.txt
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
<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();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
19
vendor/scrivo/highlight.php/test/markup/cs/titles.txt
vendored
Normal file
19
vendor/scrivo/highlight.php/test/markup/cs/titles.txt
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
namespace Foo // namespace
|
||||
{
|
||||
public class Greet : Base, Other // class
|
||||
{
|
||||
public Greet(string who) // function
|
||||
{
|
||||
Who = who;
|
||||
}
|
||||
|
||||
int[] f(int val = 0)
|
||||
{
|
||||
new Type();
|
||||
return getType();
|
||||
throw getError();
|
||||
await Stuff();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user