IntValue

amyc.interpreter.IntValue
case class IntValue(i: Int) extends Value

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Value
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

infix def %(v: IntValue)(using Context): IntValue
infix def *(v: IntValue)(using Context): IntValue
infix def +(v: IntValue)(using Context): IntValue
infix def -(v: IntValue)(using Context): IntValue
infix def /(v: IntValue)(using Context): IntValue
infix def <(v: IntValue)(using Context): BooleanValue
infix def <=(v: IntValue)(using Context): BooleanValue
def unary_-(using Context): IntValue

Inherited methods

final infix def ==(value: Value): BooleanValue

Attributes

Inherited from:
Value
final def asBoolean(using Context): Boolean

Attributes

Inherited from:
Value
final def asInt(using Context): Int

Attributes

Inherited from:
Value
final def asString(using Context): String

Attributes

Inherited from:
Value
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
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
Value -> Any
Inherited from:
Value