StructField

class StructField(    val name: Identifier,     val type: Type,     val default: Expression?)

Represents the definition of a field on a structure.

Constructors

Link copied to clipboard
fun StructField(    name: Identifier,     type: Type,     default: Expression?)

Properties

Link copied to clipboard
val default: Expression?

an expression evaluating to the default value of this field that will be assigned if no value is specified during instantiation.

Link copied to clipboard
val name: Identifier

the name of this field.

Link copied to clipboard
val type: Type

the type of this field.