CS-Notes/docs/_style/prism-master/tests/languages/csharp/issue1365.test
2018-12-19 14:09:39 +08:00

39 lines
899 B
Java

interface ILogger {
void Init(SomeClass file);
void LogInfo(string message);
}
public class SomeClass : BaseClass {}
----------------------------------------------------
[
["keyword", "interface"],
["class-name", ["ILogger"]],
["punctuation", "{"],
["keyword", "void"],
["function", "Init"],
["punctuation", "("],
["class-name", ["SomeClass"]],
" file",
["punctuation", ")"],
["punctuation", ";"],
["keyword", "void"],
["function", "LogInfo"],
["punctuation", "("],
["keyword", "string"],
" message",
["punctuation", ")"],
["punctuation", ";"],
["punctuation", "}"],
["keyword", "public"],
["keyword", "class"],
["class-name", ["SomeClass"]],
["punctuation", ":"],
["class-name", ["BaseClass"]],
["punctuation", "{"],
["punctuation", "}"]
]
----------------------------------------------------
Checks for class names. See #1365