Skip to content
Snippets Groups Projects
Commit 01340c58 authored by Philippe Suter's avatar Philippe Suter
Browse files

No commit message

No commit message
parent f0e92457
No related branches found
No related tags found
No related merge requests found
......@@ -9,4 +9,8 @@ object ParseMe {
def fromSet(i: Set[Set[Boolean]]) : Int = {
5
}
def emptySet(n: Tree) : Tree = {
Leaf()
}
}
......@@ -73,6 +73,9 @@ object Trees {
case class IntLiteral(value: Int) extends Literal[Int]
case class BooleanLiteral(value: Boolean) extends Literal[Boolean]
case class StringLiteral(value: String) extends Literal[String]
case class CaseClass(classDef: CaseClassDef, args: Seq[Expr]) extends Expr
/* Arithmetic */
case class Plus(lhs: Expr, rhs: Expr) extends Expr
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment