Expr

com.phasmidsoftware.number.expression.mill.Expr
See theExpr companion object
case class Expr(x: Expression) extends Item

Expr (expression) operator (subtype of Item). In old-fashioned terminology, x is the augend for the + operator, and the multiplier for the * operator.

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Item
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def *(multiplicand: Expr): Expression

Product method.

Product method.

Value parameters

multiplicand

the expression to be multiplied by x.

Attributes

Returns

x * multiplicand

def +(addend: Expr): Expression

Sum method.

Sum method.

Value parameters

addend

the expression to be added to x.

Attributes

Returns

x + addend.

override def 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.

Definition Classes
Any

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