Packages

object Loner

LL(1) computer

Applicable to org.benknoble.ebnf.Grammar instances

Annotations
@JSExportTopLevel( "Loner" )
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Loner
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type Followers = Map[Nonterminal, Set[Word]]

    Type of the follower computation

    Type of the follower computation

    Map from org.benknoble.ebnf.Nonterminal to Set[Word]

  2. type NtMap[A] = Map[Nonterminal, A]

    Map from org.benknoble.ebnf.Nonterminal to 'A'

  3. type Nullables = Map[Nonterminal, Boolean]

    Type of the nullable computation

    Type of the nullable computation

    Map from org.benknoble.ebnf.Nonterminal to Boolean

  4. type Starters = Map[Nonterminal, Set[Word]]

    Type of the starter computation

    Type of the starter computation

    Map from org.benknoble.ebnf.Nonterminal to Set[Word]

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply(g: Grammar): Boolean

    equivalent to Loner.isLLone(g)

  5. def areDisjoint[A](sets: Set[A]*): Boolean

    true iff all sets are mutually disjoint

    true iff all sets are mutually disjoint

    Equivalent to ∩(sets) == ∅

    sets

    the sets to test

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def fix[A, B](fi: (A, B) ⇒ B)(f0: B): (A) ⇒ B

    Returns a function which computes the least fixed point, given a starting value and a step function

    Returns a function which computes the least fixed point, given a starting value and a step function

    fi

    step function

    f0

    start value

  12. def followers(g: Grammar): Followers

    Computes follower map of an org.benknoble.ebnf.Grammar

  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def isLLone(g: Grammar): Boolean

    true iff the org.benknoble.ebnf.Gramamr is in LL(1)

    true iff the org.benknoble.ebnf.Gramamr is in LL(1)

    Annotations
    @JSExport()
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. def nullable(g: Grammar): Nullables

    Computes nullable map of an org.benknoble.ebnf.Grammar

  21. def starters(g: Grammar): Starters

    Computes starter map of an org.benknoble.ebnf.Grammar

  22. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  27. def : SetFilter[Word]

    The monoid operation on Set[Word] defined by org.benknoble.loner.SetFilter

    The monoid operation on Set[Word] defined by org.benknoble.loner.SetFilter

    ⊙(S)(T) = if (S contains ε) (S - ε) union T else S

Inherited from AnyRef

Inherited from Any

Ungrouped