CodeGen

slick.compiler.CodeGen
See theCodeGen companion object
abstract class CodeGen extends Phase

A standard skeleton for a code generator phase.

Attributes

Companion:
object
Source:
CodeGen.scala
Graph
Supertypes
trait Phase
trait Logging
class Object
trait Matchable
class Any
Known subtypes

Members list

Concise view

Type members

Inherited types

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.

Attributes

Inherited from:
Phase
Source:
QueryCompiler.scala

Value members

Abstract methods

def compileServerSideAndMapping(serverSide: Node, mapping: Option[Node], state: CompilerState): (Node, Option[Node])

Attributes

Source:
CodeGen.scala

Concrete methods

Run the phase

Run the phase

Attributes

Source:
CodeGen.scala
def apply(node: Node, state: CompilerState): Node

Attributes

Source:
CodeGen.scala

Extract the source tree and type, after possible CollectionCast operations, from a tree

Extract the source tree and type, after possible CollectionCast operations, from a tree

Attributes

Source:
CodeGen.scala

Inherited methods

def andThen[A](g: CompilerState => A): T1 => A

Attributes

Inherited from:
Function1
def compose[A](g: A => CompilerState): A => R

Attributes

Inherited from:
Function1
override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns:

a string representation of the object.

Definition Classes
Function1 -> Any
Inherited from:
Function1

Concrete fields

val name: String

The unique name of the phase

The unique name of the phase

Attributes

Source:
CodeGen.scala