summaryrefslogtreecommitdiff
path: root/test/files/run/t5603.check
blob: 760a92567ca7b7d3840a2089a6ca395dc290ea01 (plain) (blame)
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
[[syntax trees at end of                    parser]] // newSource1.scala
[0:241]package [0:0]<empty> {
  [0:82]abstract trait Greeting extends [15:82][83]scala.AnyRef {
    [15]def $init$() = [15]{
      [15]()
    };
    [23:39]val name: [33:39]String;
    [46:76]val msg = [56:76][56:72][56:71]"How are you, ".$plus([72:76]name)
  };
  [87:209]class C extends [94:209][151:159]Greeting {
    [119:139]val nameElse = _;
    [95:101]<paramaccessor> private[this] val i: [98:101]Int = _;
    <95:139>def <init>(<95:101>i: [98]Int) = <95:139>{
      <119:139>val nameElse = <134:139>"Bob";
      [NoPosition][NoPosition][NoPosition]super.<init>();
      <95:139>()
    };
    [168:184]val name = [179:184]"avc";
    [191:203][191:198]println([199:202]msg)
  };
  [215:241]object Test extends [227:241][235:238]App {
    [227]def <init>() = [227]{
      [NoPosition][NoPosition][NoPosition]super.<init>();
      [227]()
    };
    [NoPosition]<empty>
  }
}