diff options
Diffstat (limited to 'src/dotnet-library/scala/util/grammar/HedgeRHS.scala')
-rw-r--r-- | src/dotnet-library/scala/util/grammar/HedgeRHS.scala | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/dotnet-library/scala/util/grammar/HedgeRHS.scala b/src/dotnet-library/scala/util/grammar/HedgeRHS.scala new file mode 100644 index 0000000000..fa57919b73 --- /dev/null +++ b/src/dotnet-library/scala/util/grammar/HedgeRHS.scala @@ -0,0 +1,23 @@ +/* __ *\ +** ________ ___ / / ___ Scala API ** +** / __/ __// _ | / / / _ | (c) 2003-2006, LAMP/EPFL ** +** __\ \/ /__/ __ |/ /__/ __ | ** +** /____/\___/_/ |_/____/_/ | | ** +** |/ ** +\* */ + +// $Id$ + + +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 |