Package edu.cornell.cs.apl.viaduct.syntax.datatypes

Types

ClassName
Link copied to clipboard
data class ClassName(name: String) : Name

The name of a primitive or user-defined class.

ClassNameStyle
Link copied to clipboard
object ClassNameStyle : Style

The display style of ClassNames.

Get
Link copied to clipboard
object Get : QueryName

Returns the value stored at a given index in a container.

MethodName
Link copied to clipboard
interface MethodName : Name

An object method.

MethodNameStyle
Link copied to clipboard
object MethodNameStyle : Style

The display style of MethodNames.

Modify
Link copied to clipboard
data class Modify(operator: BinaryOperator) : UpdateName

Applies a binary operator to the current value and the given argument, and sets the stored value to the result.

QueryName
Link copied to clipboard
interface QueryName : MethodName

A read-only method that returns information about the object without modifying it.

Set
Link copied to clipboard
object Set : UpdateName

Replaces the value stored at a given index in a container with a new value.

UpdateName
Link copied to clipboard
interface UpdateName : MethodName

A write-only methods that modifies an object but returns no result.

Properties

ImmutableCell
Link copied to clipboard
val ImmutableCell: ClassName

A class that stores a single unmodifiable value.

MutableCell
Link copied to clipboard
val MutableCell: ClassName

A class that stores a single modifiable value.

Vector
Link copied to clipboard
val Vector: ClassName

A class that stores a list of mutable cells.