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 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85
|
[[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
}: _*))
}
}
}
}
|