RPN

com.phasmidsoftware.lascala.parser.rpn.RPN
See theRPN companion object
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.

Attributes

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

Members list

Value members

Concrete methods

def evaluate: Try[X]
def push(t: Token[X]): RPN[X]

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product