blob: 5c0379b6f874bd0bc3a79bf6dbf8126bb4ed3b9e (
plain) (
blame)
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
|
/* __ *\
** ________ ___ / / ___ Scala API **
** / __/ __// _ | / / / _ | (c) 2003-2013, LAMP/EPFL **
** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ **
** /____/\___/_/ |_/____/_/ | | **
** |/ **
\* */
package scala.util.regexp
/** Pointed regular hedge expressions, a useful subclass of regular hedge expressions.
*
* @author Burak Emir
* @version 1.0
*/
@deprecated("This class will be removed", "2.10.0")
abstract class PointedHedgeExp extends Base {
type _regexpT <: RegExp
type _labelT
case class Node(label: _labelT, r: _regexpT) extends RegExp {
final val isNullable = false
}
case class TopIter(r1: _regexpT, r2: _regexpT) extends RegExp {
final val isNullable = r1.isNullable && r2.isNullable //?
}
case object Point extends RegExp {
final val isNullable = false
}
}
|