Hash :
1093ceb3
Author :
Date :
2020-04-27T22:33:02
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
class Foo extends Bar;
struct Baz {};
enum FooBar {};
interface IFoo extends IBar;
state Action {}
state() Defense {}
----------------------------------------------------
[
["keyword", "class"],
["class-name", "Foo"],
["keyword", "extends"],
["class-name", "Bar"],
["punctuation", ";"],
["keyword", "struct"],
["class-name", "Baz"],
["punctuation", "{"],
["punctuation", "}"],
["punctuation", ";"],
["keyword", "enum"],
["class-name", "FooBar"],
["punctuation", "{"],
["punctuation", "}"],
["punctuation", ";"],
["keyword", "interface"],
["class-name", "IFoo"],
["keyword", "extends"],
["class-name", "IBar"],
["punctuation", ";"],
["keyword", "state"],
["class-name", "Action"],
["punctuation", "{"],
["punctuation", "}"],
["keyword", "state"],
["punctuation", "("],
["punctuation", ")"],
["class-name", "Defense"],
["punctuation", "{"],
["punctuation", "}"]
]
----------------------------------------------------
Checks for class names.