com.phasmidsoftware.lascala.parser.rpn

Members list

Type members

Classlikes

object Comparand

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
Comparand.type
case class Comparand[X](xt: Try[X])(using evidence$1: Orderable[X]) extends Evaluable[X]

This class is similar to RPN but applies to Rule right-hand-sides that are Orderable whereas RPN applies when RHS is Valuable (in other words, an expression).

This class is similar to RPN but applies to Rule right-hand-sides that are Orderable whereas RPN applies when RHS is Valuable (in other words, an expression).

Type parameters

X

the underlying type

Value parameters

xt

the value of X wrapped in Try

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait Evaluable[X]
class Object
trait Matchable
class Any
Show all
case class Constant[X](xt: Try[X])(using evidence$1: Valuable[X]) extends Token[X], Evaluable[X]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Evaluable[X]
trait Token[X]
class Object
trait Matchable
class Any
Show all
case class Dyadic[X](f: (X, X) => Try[X])(using evidence$1: Valuable[X]) extends Token[X]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Token[X]
class Object
trait Matchable
class Any
Show all
trait Evaluable[X]

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Comparand[X]
class Constant[X]
class Invalid[X]
class Number[X]
class RPN[X]
case class Invalid[X](t: Throwable) extends Token[X], Evaluable[X]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Evaluable[X]
trait Token[X]
class Object
trait Matchable
class Any
Show all
case class Monadic[X](f: X => Try[X])(using evidence$1: Valuable[X]) extends Token[X]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Token[X]
class Object
trait Matchable
class Any
Show all
case class Number[X](n: String)(using evidence$1: Valuable[X]) extends Token[X], Evaluable[X]

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait Evaluable[X]
trait Token[X]
class Object
trait Matchable
class Any
Show all
case class RPN[X](stack: List[Token[X]])(using evidence$1: Valuable[X]) extends Token[X], Evaluable[X]

Created by scalaprof on 6/13/16.

Created by scalaprof on 6/13/16.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait Evaluable[X]
trait Token[X]
class Object
trait Matchable
class Any
Show all
object RPN

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
RPN.type
sealed trait Token[X]

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Constant[X]
class Dyadic[X]
class Invalid[X]
class Monadic[X]
class Number[X]
class RPN[X]
Show all
object Token

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
Token.type