1 enum Material {
2   //  ^ type
3   DENIM,
4   // ^ constant
5   CANVAS
6 }
7 
8 class Person {
9   //   ^ type
10 
Person(string name)11   Person(string name) {
12     // <- type
13     //    ^ type
14     this.name = name;
15     //            ^ variable
16     this.pants = new Pants<Pocket>();
17     //                ^ type
18     //                       ^ type
19   }
20 
getName()21   string getName() {
22     // <- type
23     //    ^ function.method
24     a = this.name;
25     b = new one.two.Three();
26     //      ^ type
27     //          ^ type
28     //              ^ type
29     c = Material.DENIM;
30     //      ^ type
31     //            ^ constant
32   }
33 }
34