Struct Instance
class StructInstance(val name: Identifier, val fields: Map<Identifier, Expression>) : Expression
Content copied to clipboard
Represents the instantiation of Struct.
All entries of fields must have a corresponding StructField in the Struct's definition. All StructFields without default expressions must have an entry in fields
Constructors
Link copied to clipboard
fun StructInstance(name: Identifier, fields: Map<Identifier, Expression>)
Content copied to clipboard
Properties
Link copied to clipboard
the identifier at which the Struct that is being instantiated is accessible in the current scope.