StringGeneratorHelpers

slick.codegen.StringGeneratorHelpers
trait StringGeneratorHelpers extends GeneratorHelpers[String, String, String]

Attributes

Source:
AbstractSourceCodeGenerator.scala
Graph
Supertypes
trait GeneratorHelpers[String, String, String]
class Object
trait Matchable
class Any
Known subtypes

Members list

Concise view

Type members

Inherited classlikes

implicit class StringExtensions(val str: String)

Slick code generator string extension methods. (Warning: Not unicode-safe, uses String#apply)

Slick code generator string extension methods. (Warning: Not unicode-safe, uses String#apply)

Attributes

Inherited from:
GeneratorHelpers
Source:
AbstractGenerator.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

def docWithCode(doc: String, code: String): String

Assemble doc comment with scala code

Assemble doc comment with scala code

Attributes

Source:
AbstractSourceCodeGenerator.scala
final def optionType(t: String): String

Wrap the given type into an Option type

Wrap the given type into an Option type

Attributes

Source:
AbstractSourceCodeGenerator.scala
def parseType(tpe: String): String

Generates code for a qualified Scala type

Generates code for a qualified Scala type

Attributes

Source:
AbstractSourceCodeGenerator.scala
def shouldQuoteIdentifier(s: String): Boolean
def termName(name: String): String

Marks a String as a TermName (e.g. for escaping scala keywords)

Marks a String as a TermName (e.g. for escaping scala keywords)

Attributes

Source:
AbstractSourceCodeGenerator.scala
def typeName(name: String): String

Marks a String as a TypeName (e.g. for escaping scala keywords)

Marks a String as a TypeName (e.g. for escaping scala keywords)

Attributes

Source:
AbstractSourceCodeGenerator.scala

Inherited methods

def indent(code: String): String

Attributes

Inherited from:
GeneratorHelpers
Source:
AbstractGenerator.scala

Inherited fields

val scalaKeywords: Seq[String]

Words that are reserved keywords in Scala

Words that are reserved keywords in Scala

Attributes

Inherited from:
GeneratorHelpers
Source:
AbstractGenerator.scala

Existing term member names in Table[_] that do not take parameters

Existing term member names in Table[_] that do not take parameters

Attributes

Inherited from:
GeneratorHelpers
Source:
AbstractGenerator.scala

Implicits

Inherited implicits

final implicit def StringExtensions(str: String): StringExtensions

Slick code generator string extension methods. (Warning: Not unicode-safe, uses String#apply)

Slick code generator string extension methods. (Warning: Not unicode-safe, uses String#apply)

Attributes

Inherited from:
GeneratorHelpers
Source:
AbstractGenerator.scala