c

slick.compiler

RemoveTakeDrop

class RemoveTakeDrop extends Phase

Replace all occurrences of Take and Drop with row number computations based on zipWithIndex operations.

Source
RemoveTakeDrop.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RemoveTakeDrop
  2. Phase
  3. Logging
  4. Function1
  5. AnyRef
  6. 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

Instance Constructors

  1. new RemoveTakeDrop(translateTake: Boolean = true, translateDrop: Boolean = true)

Type Members

  1. abstract type State

    The immutable state of the phase that can also be accessed by other phases.

    The immutable state of the phase that can also be accessed by other phases.

    Definition Classes
    Phase

Value Members

  1. def andThen[A](g: (CompilerState) => A): (CompilerState) => A
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  2. def apply(state: CompilerState): CompilerState

    Run the phase

    Run the phase

    Definition Classes
    RemoveTakeDropPhase → Function1
  3. def compose[A](g: (A) => CompilerState): (A) => CompilerState
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  4. val name: String

    The unique name of the phase

    The unique name of the phase

    Definition Classes
    RemoveTakeDropPhase
  5. def toString(): String
    Definition Classes
    Function1 → AnyRef → Any
  6. val translateDrop: Boolean
  7. val translateTake: Boolean
  8. object TakeDrop

    An extractor for nested Take and Drop nodes