MethodDecl

final case class MethodDecl(retType: Type, name: String, params: Seq[ArgDecl], body: Block, symbol: Symbol, evalType: Type, promoteToType: Option[Type], annotations: Seq[Ann]) extends Decl

Method 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]): MethodDecl
Definition Classes

Inherited methods

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