update inbox list
This commit is contained in:
15
vendor/scrivo/highlight.php/test/markup/elixir/function-title.expect.txt
vendored
Normal file
15
vendor/scrivo/highlight.php/test/markup/elixir/function-title.expect.txt
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
<span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">f</span></span> <span class="hljs-keyword">do</span>
|
||||
<span class="hljs-symbol">:ok</span>
|
||||
<span class="hljs-keyword">end</span>
|
||||
|
||||
<span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">f</span></span>(list) <span class="hljs-keyword">do</span>
|
||||
<span class="hljs-symbol">:ok</span>
|
||||
<span class="hljs-keyword">end</span>
|
||||
|
||||
<span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">f</span></span> <span class="hljs-symbol">:clear</span>, list <span class="hljs-keyword">do</span>
|
||||
<span class="hljs-symbol">:ok</span>
|
||||
<span class="hljs-keyword">end</span>
|
||||
|
||||
<span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">f!</span></span>, <span class="hljs-symbol">do:</span> IO.puts <span class="hljs-string">"hello world"</span>
|
||||
|
||||
x = <span class="hljs-number">5</span>
|
||||
15
vendor/scrivo/highlight.php/test/markup/elixir/function-title.txt
vendored
Normal file
15
vendor/scrivo/highlight.php/test/markup/elixir/function-title.txt
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
def f do
|
||||
:ok
|
||||
end
|
||||
|
||||
def f(list) do
|
||||
:ok
|
||||
end
|
||||
|
||||
def f :clear, list do
|
||||
:ok
|
||||
end
|
||||
|
||||
def f!, do: IO.puts "hello world"
|
||||
|
||||
x = 5
|
||||
14
vendor/scrivo/highlight.php/test/markup/elixir/numbers.expect.txt
vendored
Normal file
14
vendor/scrivo/highlight.php/test/markup/elixir/numbers.expect.txt
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
integer = <span class="hljs-number">1234</span>
|
||||
big_integer = <span class="hljs-number">1_234_000</span>
|
||||
neg_integer = <span class="hljs-number">-20_000</span>
|
||||
float = <span class="hljs-number">2.34</span>
|
||||
sci_float = <span class="hljs-number">2.4e23</span>
|
||||
plus_sci_float = <span class="hljs-number">2.4e+23</span>
|
||||
small_sci_float = <span class="hljs-number">2.4e-23</span>
|
||||
cap_sci_float = <span class="hljs-number">2.4E23</span>
|
||||
binary = <span class="hljs-number">0b1010</span>
|
||||
strange_binary = <span class="hljs-number">0b1010_1010_1010</span>
|
||||
octal = <span class="hljs-number">0o777</span>
|
||||
strange_octal = <span class="hljs-number">0o777_666_555</span>
|
||||
hex = <span class="hljs-number">0x1ABEF</span>
|
||||
strange_hex = <span class="hljs-number">0x1234_FACE_987D</span>
|
||||
14
vendor/scrivo/highlight.php/test/markup/elixir/numbers.txt
vendored
Normal file
14
vendor/scrivo/highlight.php/test/markup/elixir/numbers.txt
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
integer = 1234
|
||||
big_integer = 1_234_000
|
||||
neg_integer = -20_000
|
||||
float = 2.34
|
||||
sci_float = 2.4e23
|
||||
plus_sci_float = 2.4e+23
|
||||
small_sci_float = 2.4e-23
|
||||
cap_sci_float = 2.4E23
|
||||
binary = 0b1010
|
||||
strange_binary = 0b1010_1010_1010
|
||||
octal = 0o777
|
||||
strange_octal = 0o777_666_555
|
||||
hex = 0x1ABEF
|
||||
strange_hex = 0x1234_FACE_987D
|
||||
23
vendor/scrivo/highlight.php/test/markup/elixir/sigils.expect.txt
vendored
Normal file
23
vendor/scrivo/highlight.php/test/markup/elixir/sigils.expect.txt
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
<span class="hljs-string">~R'this + i\s "a" regex too'</span>
|
||||
<span class="hljs-string">~w(hello <span class="hljs-subst">#{ [<span class="hljs-string">"has"</span> <> <span class="hljs-string">"123"</span>, <span class="hljs-string">'\c\d'</span>, <span class="hljs-string">"\123 interpol"</span> | []] }</span> world)</span>s
|
||||
<span class="hljs-string">~W(hello #{no "123" \c\d \123 interpol} world)</span>s
|
||||
<span class="hljs-string">~s{Escapes terminators \{ and \}, but no {balancing}</span> <span class="hljs-comment"># outside of sigil here }</span>
|
||||
<span class="hljs-string">~S"No escapes \s\t\n and no #{interpolation}"</span>
|
||||
|
||||
<span class="hljs-string">~S/hello/</span>
|
||||
<span class="hljs-string">~S|hello|</span>
|
||||
<span class="hljs-string">~S"hello"</span>
|
||||
<span class="hljs-string">~S'hello'</span>
|
||||
<span class="hljs-string">~S(hello)</span>
|
||||
<span class="hljs-string">~S[hello]</span>
|
||||
<span class="hljs-string">~S{hello}</span>
|
||||
<span class="hljs-string">~S<hello></span>
|
||||
|
||||
<span class="hljs-string">~s/hello <span class="hljs-subst">#{name}</span>/</span>
|
||||
<span class="hljs-string">~s|hello <span class="hljs-subst">#{name}</span>|</span>
|
||||
<span class="hljs-string">~s"hello <span class="hljs-subst">#{name}</span>"</span>
|
||||
<span class="hljs-string">~s'hello <span class="hljs-subst">#{name}</span>'</span>
|
||||
<span class="hljs-string">~s(hello <span class="hljs-subst">#{name}</span>)</span>
|
||||
<span class="hljs-string">~s[hello <span class="hljs-subst">#{name}</span>]</span>
|
||||
<span class="hljs-string">~s{hello <span class="hljs-subst">#{name}</span>}</span>
|
||||
<span class="hljs-string">~s<hello <span class="hljs-subst">#{name}</span>></span>
|
||||
23
vendor/scrivo/highlight.php/test/markup/elixir/sigils.txt
vendored
Normal file
23
vendor/scrivo/highlight.php/test/markup/elixir/sigils.txt
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
~R'this + i\s "a" regex too'
|
||||
~w(hello #{ ["has" <> "123", '\c\d', "\123 interpol" | []] } world)s
|
||||
~W(hello #{no "123" \c\d \123 interpol} world)s
|
||||
~s{Escapes terminators \{ and \}, but no {balancing} # outside of sigil here }
|
||||
~S"No escapes \s\t\n and no #{interpolation}"
|
||||
|
||||
~S/hello/
|
||||
~S|hello|
|
||||
~S"hello"
|
||||
~S'hello'
|
||||
~S(hello)
|
||||
~S[hello]
|
||||
~S{hello}
|
||||
~S<hello>
|
||||
|
||||
~s/hello #{name}/
|
||||
~s|hello #{name}|
|
||||
~s"hello #{name}"
|
||||
~s'hello #{name}'
|
||||
~s(hello #{name})
|
||||
~s[hello #{name}]
|
||||
~s{hello #{name}}
|
||||
~s<hello #{name}>
|
||||
4
vendor/scrivo/highlight.php/test/markup/elixir/strings.expect.txt
vendored
Normal file
4
vendor/scrivo/highlight.php/test/markup/elixir/strings.expect.txt
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
a = <span class="hljs-string">"""test"""</span>
|
||||
b = <span class="hljs-string">'''test'''</span>
|
||||
c = <span class="hljs-string">"test"</span>
|
||||
d = <span class="hljs-string">'test'</span>
|
||||
4
vendor/scrivo/highlight.php/test/markup/elixir/strings.txt
vendored
Normal file
4
vendor/scrivo/highlight.php/test/markup/elixir/strings.txt
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
a = """test"""
|
||||
b = '''test'''
|
||||
c = "test"
|
||||
d = 'test'
|
||||
17
vendor/scrivo/highlight.php/test/markup/elixir/uppercase-string-sigil.expect.txt
vendored
Normal file
17
vendor/scrivo/highlight.php/test/markup/elixir/uppercase-string-sigil.expect.txt
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
<span class="hljs-class"><span class="hljs-keyword">defmodule</span> <span class="hljs-title">Long.Module.Name</span></span> <span class="hljs-keyword">do</span>
|
||||
<span class="hljs-variable">@doc</span> <span class="hljs-string">~S'''
|
||||
No #{interpolation} of any kind.
|
||||
\000 \x{ff}
|
||||
|
||||
\n #{\x{ff}}
|
||||
'''</span>
|
||||
<span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">func</span></span>(a, b \\ []), <span class="hljs-symbol">do:</span> <span class="hljs-symbol">:ok</span>
|
||||
|
||||
<span class="hljs-variable">@doc</span> <span class="hljs-string">~S"""
|
||||
No #{interpolation} of any kind.
|
||||
\000 \x{ff}
|
||||
|
||||
\n #{\x{ff}}
|
||||
"""</span>
|
||||
<span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">func</span></span>(a, b \\ []), <span class="hljs-symbol">do:</span> <span class="hljs-symbol">:ok</span>
|
||||
<span class="hljs-keyword">end</span>
|
||||
17
vendor/scrivo/highlight.php/test/markup/elixir/uppercase-string-sigil.txt
vendored
Normal file
17
vendor/scrivo/highlight.php/test/markup/elixir/uppercase-string-sigil.txt
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
defmodule Long.Module.Name do
|
||||
@doc ~S'''
|
||||
No #{interpolation} of any kind.
|
||||
\000 \x{ff}
|
||||
|
||||
\n #{\x{ff}}
|
||||
'''
|
||||
def func(a, b \\ []), do: :ok
|
||||
|
||||
@doc ~S"""
|
||||
No #{interpolation} of any kind.
|
||||
\000 \x{ff}
|
||||
|
||||
\n #{\x{ff}}
|
||||
"""
|
||||
def func(a, b \\ []), do: :ok
|
||||
end
|
||||
Reference in New Issue
Block a user