Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [[syntax trees at end of cleanup]]// Scala source: pm.scala
- package <empty> {
- class Foo extends java.lang.Object with ScalaObject {
- def parse(list: List): Int = {
- <synthetic> val temp1: List = list;
- if (temp1.$isInstanceOf[scala.collection.immutable.::]())
- {
- <synthetic> val temp2: scala.collection.immutable.:: = temp1.$asInstanceOf[scala.collection.immutable.::]();
- <synthetic> val temp3: java.lang.String = temp2.hd$1().$asInstanceOf[java.lang.String]();
- <synthetic> val temp4: List = temp2.tl$1();
- if (temp3.==("a"))
- {
- 1
- }
- else
- if (temp3.==("b"))
- {
- if (immutable.this.Nil.==(temp4))
- {
- 2
- }
- else
- {
- 6
- }
- }
- else
- if (temp3.==("c"))
- {
- 3
- }
- else
- if (temp3.==("d"))
- {
- 3
- }
- else
- if (temp3.==("1"))
- {
- if (temp4.$isInstanceOf[scala.collection.immutable.::]())
- {
- <synthetic> val temp11: scala.collection.immutable.:: = temp4.$asInstanceOf[scala.collection.immutable.::]();
- <synthetic> val temp13: List = temp11.tl$1();
- if (temp11.hd$1().==("2"))
- {
- if (temp13.$isInstanceOf[scala.collection.immutable.::]())
- {
- <synthetic> val temp15: scala.collection.immutable.:: = temp13.$asInstanceOf[scala.collection.immutable.::]();
- if (temp15.hd$1().==("3"))
- {
- if (immutable.this.Nil.==(temp15.tl$1()))
- {
- 4
- }
- else
- {
- 5
- }
- }
- else
- {
- 6
- }
- }
- else
- {
- 6
- }
- }
- else
- {
- 6
- }
- }
- else
- {
- 6
- }
- }
- else
- {
- 6
- }
- }
- else
- if (immutable.this.Nil.==(temp1))
- {
- 7
- }
- else
- throw new MatchError(temp1)
- };
- def this(): Foo = {
- Foo.super.this();
- ()
- }
- }
- }
Add Comment
Please, Sign In to add comment