Hash :
cc2cf3f7
Author :
Date :
2019-09-02T20:29:26
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
contract Foo {}
contract Foo is Bar {}
enum Foo { X, Y, Z }
interface Foo {}
library Foo {}
new Foo();
struct Foo {}
using Foo for bar;
----------------------------------------------------
[
["keyword", "contract"],
["class-name", "Foo"],
["punctuation", "{"],
["punctuation", "}"],
["keyword", "contract"],
["class-name", "Foo"],
["keyword", "is"],
" Bar ",
["punctuation", "{"],
["punctuation", "}"],
["keyword", "enum"],
["class-name", "Foo"],
["punctuation", "{"],
" X",
["punctuation", ","],
" Y",
["punctuation", ","],
" Z ",
["punctuation", "}"],
["keyword", "interface"],
["class-name", "Foo"],
["punctuation", "{"],
["punctuation", "}"],
["keyword", "library"],
["class-name", "Foo"],
["punctuation", "{"],
["punctuation", "}"],
["keyword", "new"],
["class-name", "Foo"],
["punctuation", "("],
["punctuation", ")"],
["punctuation", ";"],
["keyword", "struct"],
["class-name", "Foo"],
["punctuation", "{"],
["punctuation", "}"],
["keyword", "using"],
["class-name", "Foo"],
["keyword", "for"],
" bar",
["punctuation", ";"]
]
----------------------------------------------------
Checks for class names.