Value

amyc.interpreter.Value
See theValue companion object
abstract class Value

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class BooleanValue
class IntValue
class StringValue
object UnitValue.type
Show all

Members list

Value members

Concrete methods

final infix def ==(value: Value): BooleanValue
final def asBoolean(using Context): Boolean
final def asInt(using Context): Int
final def asString(using Context): String
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