changeset 7 | 73cf4406b773 |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app51.scala Thu Sep 27 11:59:41 2012 +0100 @@ -0,0 +1,8 @@ +abstract class Rexp + +case object NULL extends Rexp +case object EMPTY extends Rexp +case class CHAR(c: Char) extends Rexp +case class ALT(r1: Rexp, r2: Rexp) extends Rexp +case class SEQ(r1: Rexp, r2: Rexp) extends Rexp +case class STAR(r: Rexp) extends Rexp