...

Text file src/github.com/alecthomas/chroma/lexers/testdata/d.actual

Documentation: github.com/alecthomas/chroma/lexers/testdata

     1module foo;
     2
     3import std.stdio;
     4
     5class C {}
     6
     7/* comment1 */
     8/+ comment2 +/
     9@(1)
    10@nogc
    11int main() {
    12    writeln(__FILE__);
    13    auto s = r"hi"d;
    14    auto w = `hi`w;
    15    auto q = q{
    16        auto w = `hi`w;
    17    };
    18    enum f = 1.2fi;
    19    enum d = 0x1.FFFFFFFFFFFFFp1023;
    20    return 0;
    21}

View as plain text