object GrammarTree
Ordering
- Alphabetic
- By Inheritance
Inherited
- GrammarTree
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
-
case class
EmptyProdList
() extends ProdList with Product with Serializable
Empty symbol list.
-
case class
EmptySymbolList
() extends SymbolList with Product with Serializable
Empty symbol list.
-
case class
Grammar
(startRule: Rule, rules: Seq[Rule]) extends GrammarTree with Product with Serializable
Grammars.
-
sealed abstract
class
GrammarTree
extends TreeNode
Abstract syntax tree nodes.
-
case class
NonEmptyProdList
(head: Prod, tail: ProdList) extends ProdList with Product with Serializable
Non-empty symbol list.
-
case class
NonEmptySymbolList
(head: Symbol, tail: SymbolList) extends SymbolList with Product with Serializable
Non-empty symbol list.
-
sealed abstract
class
NonTerm
extends GrammarTree
A non-terminal reference.
-
case class
NonTermDef
(name: String) extends NonTerm with Product with Serializable
Non-terminal defining occurrence.
-
case class
NonTermSym
(nt: NonTermUse) extends Symbol with Product with Serializable
Non-terminal symbol.
-
case class
NonTermUse
(name: String) extends NonTerm with Product with Serializable
Non-terminal applied occurrence.
-
case class
Prod
(symbols: SymbolList) extends GrammarTree with Product with Serializable
Production.
-
sealed abstract
class
ProdList
extends GrammarTree
Production lists.
-
case class
Rule
(lhs: NonTermDef, rhs: ProdList) extends GrammarTree with Product with Serializable
Production rules.
-
sealed abstract
class
Symbol
extends GrammarTree
Grammar symbols.
-
sealed abstract
class
SymbolList
extends GrammarTree
Symbol lists.
-
case class
TermSym
(name: String) extends Symbol with Product with Serializable
Terminal symbol.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
EOI: TermSym
End of input terminal assumed to appear at the end of any sentential form.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
mkProd(rhs: Symbol*): Prod
Smart constructor for productions.
-
def
mkProdList(prods: Seq[Prod]): ProdList
Smart constructor for production lists.
-
def
mkRule(lhs: NonTermDef, prods: Prod*): Rule
Smart constructor for rules.
-
def
mkSymbolList(symbols: Seq[Symbol]): SymbolList
Smart constructor for symbol lists.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )