FieldDecl

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

Field Declaration in a Struct.

 struct X {
   int x;
   float y;
 }
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]): FieldDecl
Definition Classes

Inherited methods

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