/usr/share/gocode/src/github.com/alecthomas/chroma/lexers/testdata/kotlin.expected is in golang-github-alecthomas-chroma-dev 0.4.0+git20180402.51d250f-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 | [
{"type":"Keyword","value":"package"},
{"type":"Text","value":" "},
{"type":"NameNamespace","value":"X"},
{"type":"Text","value":"\n\n"},
{"type":"Keyword","value":"import"},
{"type":"Text","value":" "},
{"type":"NameNamespace","value":"A"},
{"type":"Text","value":"\n"},
{"type":"Keyword","value":"import"},
{"type":"Text","value":" "},
{"type":"NameNamespace","value":"B.*"},
{"type":"Text","value":"\n\n"},
{"type":"Keyword","value":"fun"},
{"type":"Text","value":" "},
{"type":"NameFunction","value":"main"},
{"type":"Punctuation","value":"("},
{"type":"Name","value":"args"},
{"type":"Punctuation","value":":"},
{"type":"Text","value":" "},
{"type":"Name","value":"Array"},
{"type":"Punctuation","value":"\u003c"},
{"type":"Name","value":"String"},
{"type":"Punctuation","value":"\u003e)"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"{"},
{"type":"Text","value":"\n "},
{"type":"Keyword","value":"val"},
{"type":"Text","value":" "},
{"type":"Error","value":"` + \""},
{"type":"NameProperty","value":"`with spaces`"},
{"type":"LiteralString","value":"\" + ` = \""},
{"type":"Name","value":"hello"},
{"type":"LiteralString","value":"\"\n"},
{"type":"Text","value":" "},
{"type":"Keyword","value":"val"},
{"type":"Text","value":" "},
{"type":"NameProperty","value":"multiline"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"="},
{"type":"Text","value":" "},
{"type":"LiteralString","value":"\"\"\"1\n2\"\"\""},
{"type":"Text","value":"\n "},
{"type":"Name","value":"StringBuilder"},
{"type":"Punctuation","value":"()."},
{"type":"Name","value":"apply"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"{"},
{"type":"Text","value":"\n "},
{"type":"Name","value":"append"},
{"type":"Punctuation","value":"("},
{"type":"Name","value":"multiline"},
{"type":"Punctuation","value":")"},
{"type":"Text","value":"\n "},
{"type":"Punctuation","value":"}"},
{"type":"Text","value":"\n"},
{"type":"Punctuation","value":"}"},
{"type":"Text","value":"\n"},
{"type":"CommentMultiline","value":"/*\n*/"},
{"type":"Text","value":"\n\n"},
{"type":"Keyword","value":"class"},
{"type":"Text","value":" "},
{"type":"NameClass","value":"X"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"{"},
{"type":"Text","value":"\n "},
{"type":"Keyword","value":"companion"},
{"type":"Text","value":" "},
{"type":"Keyword","value":"object"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"{"},
{"type":"Text","value":"\n "},
{"type":"Punctuation","value":"}"},
{"type":"Text","value":"\n "},
{"type":"Keyword","value":"suspend"},
{"type":"Text","value":" "},
{"type":"Keyword","value":"inline"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"\u003c"},
{"type":"Keyword","value":"reified"},
{"type":"Text","value":" "},
{"type":"Name","value":"T"},
{"type":"Punctuation","value":"\u003e"},
{"type":"Text","value":" "},
{"type":"Name","value":"generic"},
{"type":"Punctuation","value":"("},
{"type":"Name","value":"t"},
{"type":"Punctuation","value":":"},
{"type":"Text","value":" "},
{"type":"Name","value":"T"},
{"type":"Punctuation","value":")"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"{"},
{"type":"Text","value":" "},
{"type":"Name","value":"print"},
{"type":"Punctuation","value":"("},
{"type":"Name","value":"T"},
{"type":"Operator","value":"::"},
{"type":"Keyword","value":"class"},
{"type":"Punctuation","value":"."},
{"type":"Name","value":"name"},
{"type":"Punctuation","value":")"},
{"type":"Text","value":" "},
{"type":"Punctuation","value":"}"},
{"type":"Text","value":"\n"},
{"type":"Punctuation","value":"}"},
{"type":"Text","value":" "},
{"type":"CommentSingle","value":"// eof comment"}
]
|