summaryrefslogtreecommitdiff
path: root/src/library/scala/util/grammar/HedgeRHS.scala
blob: da109f41c59c2130c1ab228b5a641ddc78c6197e (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
/*                     __                                               *\
**     ________ ___   / /  ___     Scala API                            **
**    / __/ __// _ | / /  / _ |    (c) 2003-2011, LAMP/EPFL             **
**  __\ \/ /__/ __ |/ /__/ __ |    http://scala-lang.org/               **
** /____/\___/_/ |_/____/_/ | |                                         **
**                          |/                                          **
\*                                                                      */



package scala.util.grammar

@deprecated("This class will be removed", "2.10.0")
abstract class HedgeRHS

/** Right hand side of a hedge production, deriving a single tree. */
@deprecated("This class will be removed", "2.10.0")
case class ConsRHS(tnt: Int, hnt: Int) extends HedgeRHS

/** Right hand side of a hedge production, deriving any hedge. */
@deprecated("This class will be removed", "2.10.0")
case object AnyHedgeRHS extends HedgeRHS

/** Right hand side of a hedge production, deriving the empty hedge. */
@deprecated("This class will be removed", "2.10.0")
case object EmptyHedgeRHS extends HedgeRHS