Sha256: 44f6f7ac9065215b01e8c6239fafee8697fad78f508da8f88ac13e64daf37994
Contents?: true
Size: 544 Bytes
Versions: 42
Compression:
Stored size: 544 Bytes
Contents
import std.stdio; void main() { // Nesting delimited strings auto a = q"{foo " {bar} baz}"; auto b = q"[foo [bar] " baz]"; auto c = q"(foo " (bar) baz)"; auto d = q"<foo <bar> " baz>"; // Non-nesting delimited strings auto e = q"/foo " bar/"; auto f = q"-Another " string-"; // "heredoc" strings auto g = q"FOO This is a string! FOO"; // Token strings (only the q{} should be highlighted as a string) auto h = q{ int i; void foo() { writefln("Hello, world!"); } }; }
Version data entries
42 entries across 42 versions & 5 rubygems
Version | Path |
---|---|
pygments.rb-0.1.3 | vendor/Pygments-1.4/tests/examplefiles/string_delimiters.d |
pygments.rb-0.1.2 | vendor/Pygments-1.4/tests/examplefiles/string_delimiters.d |