author | Christian Urban <christian dot urban at kcl dot ac dot uk> |
Mon, 28 Sep 2015 23:47:34 +0100 | |
changeset 333 | 8890852e18b7 |
parent 288 | 39aeca14af8c |
child 400 | e4afe3f46c29 |
permissions | -rw-r--r-- |
288
39aeca14af8c
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
1 |
abstract class Rexp |
39aeca14af8c
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
2 |
case object NULL extends Rexp |
39aeca14af8c
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
3 |
case object EMPTY extends Rexp |
39aeca14af8c
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
4 |
case class CHAR(c: Char) extends Rexp |
39aeca14af8c
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
5 |
case class ALT(r1: Rexp, r2: Rexp) extends Rexp |
39aeca14af8c
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
6 |
case class SEQ(r1: Rexp, r2: Rexp) extends Rexp |
39aeca14af8c
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
7 |
case class STAR(r: Rexp) extends Rexp |
39aeca14af8c
updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff
changeset
|
8 |
case class REC(x: String, r: Rexp) extends Rexp |