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
|
[[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.PCData("hi & bye"));
$buf.$amp$plus(new _root_.scala.xml.PCData("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
}: _*))
}
}
}
}
|