scala.util.regexp.PointedHedgeExp.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of scala-library Show documentation
Show all versions of scala-library Show documentation
Standard library for the Scala Programming Language
/* __ *\
** ________ ___ / / ___ 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
}
}