All Downloads are FREE. Search and download functionalities are using the official Maven repository.

scala.util.grammar.HedgeRHS.scala Maven / Gradle / Ivy

/*                     __                                               *\
**     ________ ___   / /  ___     Scala API                            **
**    / __/ __// _ | / /  / _ |    (c) 2003-2010, LAMP/EPFL             **
**  __\ \/ /__/ __ |/ /__/ __ |    http://scala-lang.org/               **
** /____/\___/_/ |_/____/_/ | |                                         **
**                          |/                                          **
\*                                                                      */



package scala.util.grammar

abstract class HedgeRHS

/** right hand side of a hedge production, deriving a single tree */
case class ConsRHS(tnt: Int, hnt: Int) extends HedgeRHS

/** right hand side of a hedge production, deriving any hedge */
case object AnyHedgeRHS extends HedgeRHS

/** right hand side of a hedge production, deriving the empty hedge */
case object EmptyHedgeRHS extends HedgeRHS




© 2015 - 2025 Weber Informatics LLC | Privacy Policy