Packages

trait TermDef extends Def

Common interface for definitions that define a term (val, def, ...) within the generated code

Source
AbstractGenerator.scala
Linear Supertypes
Def, AnyRef, Any
Type Hierarchy
Ordering
  1. Grouped
  2. Alphabetic
  3. By Inheritance
Inherited
  1. TermDef
  2. Def
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Basic customization overrides

  1. abstract def code: Code

    Scala code

    Scala code

    Definition Classes
    Def
  2. abstract def doc: String

    Scala doc comment

    Scala doc comment

    Definition Classes
    Def
  3. abstract def rawName: String

    Name as desired in Scala Code.

    Name as desired in Scala Code. (Allowed to collide with Scala keywords. Will be automatically escaped.)

    Definition Classes
    Def
  4. def enabled: Boolean

    Indicates whether this will be included in the generated code

    Indicates whether this will be included in the generated code

    Definition Classes
    Def

Ungrouped

  1. def disambiguateTerm(name: String, postfix: String = "X"): String

    Adds one or more X to the end of the given string to avoid collisions with column names.

  2. def docWithCode: Code

    Scala doc comment with code

    Scala doc comment with code

    Definition Classes
    TermDefDef
  3. final def getEnabled: Option[Def]

    Returns Some(this) if enabled else None

    Returns Some(this) if enabled else None

    Definition Classes
    Def
  4. final def name: TermName

    Name (escaped if colliding with Scala keyword).