StructDecl

final case class StructDecl(name: String, fields: Seq[FieldDecl], symbol: Symbol, evalType: Type, promoteToType: Option[Type]) extends Decl

Struct Declaration

Companion:
object
trait Serializable
trait Product
trait Equals
class Decl
trait HasName
trait HasSymbol
class Expr
class Stat
class AST
class Object
trait Matchable
class Any

Value members

Concrete methods

override def visit[S, R](s: S, v: TreeVisitor[S, R]): Either[Throwable, R]
Definition Classes
override def withPromoteToType(t: Option[Type]): StructDecl
Definition Classes

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product