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
Show all
Known subtypes

Members list

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
def treeAndType(n: Node): (Node, Type)

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