CharRecognizer

io.github.edadma.recognizer.CharRecognizer
trait CharRecognizer[W] extends Recognizer[W, Char]

Attributes

Graph
Supertypes
trait Recognizer[W, Char]
class Object
trait Matchable
class Any

Members list

Type members

Inherited classlikes

protected case class Alternative(p: Pattern, q: Pattern) extends Pattern

Attributes

Inherited from:
Recognizer
Supertypes
trait Serializable
trait Product
trait Equals
trait Pattern
class Object
trait Matchable
class Any
Show all
protected trait Choice

Attributes

Inherited from:
Recognizer
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class ChoicePoint
object Fence
protected case class ChoicePoint(input: I, pattern: Pattern, call: List[Pattern], value: List[Any]) extends Choice

Attributes

Inherited from:
Recognizer
Supertypes
trait Serializable
trait Product
trait Equals
trait Choice
class Object
trait Matchable
class Any
Show all
protected case class Clas(c: E => Boolean) extends Pattern

Attributes

Inherited from:
Recognizer
Supertypes
trait Serializable
trait Product
trait Equals
trait Pattern
class Object
trait Matchable
class Any
Show all
protected case object Cut extends Pattern

Attributes

Inherited from:
Recognizer
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Pattern
class Object
trait Matchable
class Any
Show all
protected case object Fail extends Pattern

Attributes

Inherited from:
Recognizer
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Pattern
class Object
trait Matchable
class Any
Show all
protected case object Fence extends Pattern, Choice

Attributes

Inherited from:
Recognizer
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Choice
trait Pattern
class Object
trait Matchable
class Any
Show all
protected case class Match(e: Seq[E]) extends Pattern

Attributes

Inherited from:
Recognizer
Supertypes
trait Serializable
trait Product
trait Equals
trait Pattern
class Object
trait Matchable
class Any
Show all
protected case class NonStrict(p: () => Pattern) extends Pattern

Attributes

Inherited from:
Recognizer
Supertypes
trait Serializable
trait Product
trait Equals
trait Pattern
class Object
trait Matchable
class Any
Show all
protected case object Nop extends Pattern

Attributes

Inherited from:
Recognizer
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Pattern
class Object
trait Matchable
class Any
Show all
protected case class Not(p: Pattern) extends Pattern

Attributes

Inherited from:
Recognizer
Supertypes
trait Serializable
trait Product
trait Equals
trait Pattern
class Object
trait Matchable
class Any
Show all
trait Pattern

Attributes

Inherited from:
Recognizer
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Alternative
class Clas
object Cut
object Fail
object Fence
class Match
class NonStrict
object Nop
class Not
object Pointer
class Push
class Sequence
class Test
class Transform
Show all
protected case object Pointer extends Pattern

Attributes

Inherited from:
Recognizer
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Pattern
class Object
trait Matchable
class Any
Show all
protected case class Push(v: Any) extends Pattern

Attributes

Inherited from:
Recognizer
Supertypes
trait Serializable
trait Product
trait Equals
trait Pattern
class Object
trait Matchable
class Any
Show all
class Runstate

Attributes

Inherited from:
Recognizer
Supertypes
class Object
trait Matchable
class Any
protected case class Sequence(p: Pattern, q: Pattern) extends Pattern

Attributes

Inherited from:
Recognizer
Supertypes
trait Serializable
trait Product
trait Equals
trait Pattern
class Object
trait Matchable
class Any
Show all
protected case class Test(p: List[Any] => Boolean) extends Pattern

Attributes

Inherited from:
Recognizer
Supertypes
trait Serializable
trait Product
trait Equals
trait Pattern
class Object
trait Matchable
class Any
Show all
protected case class Transform(arity: Int, f: Seq[Any] => Any) extends Pattern

Attributes

Inherited from:
Recognizer
Supertypes
trait Serializable
trait Product
trait Equals
trait Pattern
class Object
trait Matchable
class Any
Show all

Inherited types

type I = Input[W, Char]

Attributes

Inherited from:
Recognizer

Value members

Concrete methods

def kw(s: String): Pattern
def sym(s: String): Pattern

Inherited methods

def !!: Pattern

Attributes

Inherited from:
Recognizer
def action[A](f: A => Any): Pattern

Attributes

Inherited from:
Recognizer
def action2[A, B](f: (A, B) => Any): Pattern

Attributes

Inherited from:
Recognizer
def action3[A, B, C](f: (A, B, C) => Any): Pattern

Attributes

Inherited from:
Recognizer
def action4[A, B, C, D](f: (A, B, C, D) => Any): Pattern

Attributes

Inherited from:
Recognizer
def any: Pattern

Attributes

Inherited from:
Recognizer
def anyOf(es: Char*): Pattern

Attributes

Inherited from:
Recognizer
def capture(p: Pattern)(action: (I, I) => Any): Pattern

Attributes

Inherited from:
Recognizer

Attributes

Inherited from:
Recognizer
def clas(c: Char => Boolean): Pattern

Attributes

Inherited from:
Recognizer

Attributes

Inherited from:
Recognizer
def fence: Pattern

Attributes

Inherited from:
Recognizer
def nonStrict(p: => Pattern): Pattern

Attributes

Inherited from:
Recognizer
def noneOf(es: Char*): Pattern

Attributes

Inherited from:
Recognizer
def nop: Pattern

Attributes

Inherited from:
Recognizer
def not(p: Pattern): Pattern

Attributes

Inherited from:
Recognizer
def opt(p: Pattern): Pattern

Attributes

Inherited from:
Recognizer
def opta[A](p: Pattern)(f: A => Any): Pattern

Attributes

Inherited from:
Recognizer
def opti[A](p: Pattern): Pattern

Attributes

Inherited from:
Recognizer
def optr(p: Pattern): Pattern

Attributes

Inherited from:
Recognizer
def optra[A](p: Pattern)(f: A => Any): Pattern

Attributes

Inherited from:
Recognizer
def optri(p: Pattern): Pattern

Attributes

Inherited from:
Recognizer
def optrt(p: Pattern, arity: Int)(f: Seq[Any] => Any): Pattern

Attributes

Inherited from:
Recognizer
def optt(p: Pattern, arity: Int)(f: Seq[Any] => Any): Pattern

Attributes

Inherited from:
Recognizer

Attributes

Inherited from:
Recognizer
def push(v: Any): Pattern

Attributes

Inherited from:
Recognizer
def rep(p: Pattern): Pattern

Attributes

Inherited from:
Recognizer
def rep1(p: Pattern): Pattern

Attributes

Inherited from:
Recognizer
def rep1a[A](p: Pattern)(f: A => Any): Pattern

Attributes

Inherited from:
Recognizer
def rep1i(p: Pattern): Pattern

Attributes

Inherited from:
Recognizer
def rep1t(p: Pattern, arity: Int)(f: Seq[Any] => Any): Pattern

Attributes

Inherited from:
Recognizer
def repa[A](p: Pattern)(f: A => Any): Pattern

Attributes

Inherited from:
Recognizer
def repi(p: Pattern): Pattern

Attributes

Inherited from:
Recognizer
def repr(p: Pattern): Pattern

Attributes

Inherited from:
Recognizer
def repr1(p: Pattern): Pattern

Attributes

Inherited from:
Recognizer
def repr1a[A](p: Pattern)(f: A => Any): Pattern

Attributes

Inherited from:
Recognizer

Attributes

Inherited from:
Recognizer
def repr1t(p: Pattern, arity: Int)(f: Seq[Any] => Any): Pattern

Attributes

Inherited from:
Recognizer
def repra[A](p: Pattern)(f: A => Any): Pattern

Attributes

Inherited from:
Recognizer
def reprt(p: Pattern, arity: Int)(f: Seq[Any] => Any): Pattern

Attributes

Inherited from:
Recognizer
def rept(p: Pattern, arity: Int)(f: Seq[Any] => Any): Pattern

Attributes

Inherited from:
Recognizer
def rerun(state: Runstate): Option[(Option[Any], I, Runstate)]

Attributes

Inherited from:
Recognizer
def run(state: Runstate): Option[(Option[Any], I, Runstate)]

Attributes

Inherited from:
Recognizer
def run(input: I, pat: Pattern): Option[(Option[Any], I, Runstate)]

Attributes

Inherited from:
Recognizer
def runAll(input: I, pat: Pattern): List[(Option[Any], I)]

Attributes

Inherited from:
Recognizer
def seq(es: Char*): Pattern

Attributes

Inherited from:
Recognizer
def test[A](c: A => Boolean): Pattern

Attributes

Inherited from:
Recognizer
def testValues(c: List[Any] => Boolean): Pattern

Attributes

Inherited from:
Recognizer
def transform(arity: Int)(f: Seq[Any] => Any): Pattern

Attributes

Inherited from:
Recognizer

Concrete fields

val alpha: Pattern
val digit: Pattern
val ident: Pattern
val ws: Pattern
val ws1: Pattern

Inherited fields

var runlimit: Int

Attributes

Inherited from:
Recognizer

Implicits

Implicits

implicit def str(s: String): Pattern

Inherited implicits

implicit def elem(e: Char): Pattern

Attributes

Inherited from:
Recognizer