summaryrefslogblamecommitdiff
path: root/test/files/run/t3368.check
blob: e0c10cc0ddb208157d60fe47ee4b811a3612aaf7 (plain) (tree)
1
2
3
4
5
6
7
8
9
10







                                                                        

                                                               
































                                                                                       






































                                                                                       


   
[[syntax trees at end of                    parser]] // newSource1.scala
package <empty> {
  abstract trait X extends scala.AnyRef {
    def $init$() = {
      ()
    };
    def x = {
      val $buf = new _root_.scala.xml.NodeBuffer();
      $buf.$amp$plus(new _root_.scala.xml.Text("hi & bye"));
      $buf.$amp$plus(new _root_.scala.xml.Text("red & black"));
      $buf
    }
  };
  abstract trait Y extends scala.AnyRef {
    def $init$() = {
      ()
    };
    def y = {
      {
        new _root_.scala.xml.Elem(null, "a", _root_.scala.xml.Null, $scope, false, ({
          val $buf = new _root_.scala.xml.NodeBuffer();
          $buf.$amp$plus({
            {
              new _root_.scala.xml.Elem(null, "b", _root_.scala.xml.Null, $scope, true)
            }
          });
          $buf.$amp$plus(new _root_.scala.xml.Text("starthi & bye"));
          $buf.$amp$plus({
            {
              new _root_.scala.xml.Elem(null, "c", _root_.scala.xml.Null, $scope, true)
            }
          });
          $buf.$amp$plus(new _root_.scala.xml.Text("world"));
          $buf.$amp$plus({
            {
              new _root_.scala.xml.Elem(null, "d", _root_.scala.xml.Null, $scope, true)
            }
          });
          $buf.$amp$plus(new _root_.scala.xml.Text("stuffred & black"));
          $buf
        }: _*))
      }
    }
  };
  abstract trait Z extends scala.AnyRef {
    def $init$() = {
      ()
    };
    def d = new _root_.scala.xml.Text("hello, world");
    def e = {
      val $buf = new _root_.scala.xml.NodeBuffer();
      $buf.$amp$plus(new _root_.scala.xml.Text("hello, world"));
      $buf.$amp$plus(new _root_.scala.xml.Text("hello, world"));
      $buf
    };
    def f = {
      {
        new _root_.scala.xml.Elem(null, "foo", _root_.scala.xml.Null, $scope, false, ({
          val $buf = new _root_.scala.xml.NodeBuffer();
          $buf.$amp$plus(new _root_.scala.xml.Text("xhello, world"));
          $buf
        }: _*))
      }
    };
    def g = {
      {
        new _root_.scala.xml.Elem(null, "foo", _root_.scala.xml.Null, $scope, false, ({
          val $buf = new _root_.scala.xml.NodeBuffer();
          $buf.$amp$plus(new _root_.scala.xml.Text("hello, world"));
          $buf
        }: _*))
      }
    };
    def h = {
      {
        new _root_.scala.xml.Elem(null, "foo", _root_.scala.xml.Null, $scope, false, ({
          val $buf = new _root_.scala.xml.NodeBuffer();
          $buf.$amp$plus(new _root_.scala.xml.Text("hello, worldhello, world"));
          $buf
        }: _*))
      }
    }
  }
}