MonadicTerm

com.phasmidsoftware.number.expression.parse.BaseMillParser.MonadicTerm
case class MonadicTerm(t: BaseMillParser.this.Term, os: List[String], op: String) extends Term

MonadicTerm is a Term defined by a Term t, a list of Strings, and an operator op.

Value parameters

op

an monadic operator, represented by a String.

os

a possibly empty list of Strings, representing neutral operators such as the swap operator.

t

a Term, typically a Number or another term.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait BaseMillParser.this.Term
class Object
trait Matchable
class Any
Show all

Members list

Value members

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
def toItems: Seq[Item]

Attributes

Inherited from:
Term

Concrete fields

lazy override val toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.