Skip to content

StructExpr

StructExpr describes a struct creation expression.

fields(): EntryExpr[]

Fields returns the set of field initializers in the struct expression as EntryExpr values.

EntryExpr[]


typeName(): string

TypeName returns the struct type name.

string