Template

final case
class Template(constr: DefDef, parents: List[Apply | Block | TypeTree], self: Option[SelfDef], body: List[StatementTree])(span: Span) extends Tree

constr extends parents { self => body }

holder for details of a Class definition

Value Params
classParent

-- the parent whose constructor is called. If the template defines a class, this is its only class parent.

parents

trait parents of the template and the class parent if the template defines a trait.

trait Serializable
trait Product
trait Equals
class Tree
class Object
trait Matchable
class Any

Value members

Concrete methods

final override
def withSpan(span: Span): Template
Definition Classes

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
def walkTree(op: Tree => Unit): Unit
Inherited from
Tree
def walkTree[R](op: Tree => R)(reduce: (R, R) => R, default: => R): R
Inherited from
Tree