Value

public class Value

Fields

client

protected final APIClient client

handle

protected long handle

Constructors

Value

protected Value(APIClient client)

Internal constructor

Methods

equals

public boolean equals(io.cocotec.coco.platform.coco.Value right)

fromProtobuf

public static Value fromProtobuf(APIClient client, Out.CocoValue inputValue)

Internal constructor

getHandle

public final long getHandle()

getKind

public final io.cocotec.coco.platform.coco.Kind0 getKind()

toString

public String toString()

Converts this value into a human-readable string representation of this value.

toStringNoNewlines

public String toStringNoNewlines()

Converts this value into a human-readable string representation of this value without any newline characters.

type

public String type()

Pretty-prints the Coco type of this value.