TwirlCompiler
play.twirl.compiler.TwirlCompiler$
object TwirlCompiler
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
TwirlCompiler.type
Members list
Type members
Classlikes
object TemplateAsFunctionCompiler
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
Value members
Concrete methods
def compile(source: File, sourceDirectory: File, generatedDirectory: File, formatterType: String, additionalImports: Seq[String], constructorAnnotations: Seq[String], codec: Codec, inclusiveDot: Boolean): Option[File]
def compileVirtual(content: String, source: File, sourceDirectory: File, resultType: String, formatterType: String, additionalImports: Seq[String], constructorAnnotations: Seq[String], codec: Codec, inclusiveDot: Boolean): GeneratedSourceVirtual
def generateCode(packageName: String, name: String, root: Template, resultType: String, formatterType: String, additionalImports: Seq[String], constructorAnnotations: Seq[String]): Seq[Any]
def generateFinalTemplate(relativePath: String, contents: Array[Byte], packageName: String, name: String, root: Template, resultType: String, formatterType: String, additionalImports: Seq[String], constructorAnnotations: Seq[String]): String
def generatedFile(template: File, codec: Codec, sourceDirectory: File, generatedDirectory: File, inclusiveDot: Boolean): (Array[String], GeneratedSource)
def generatedFileVirtual(template: File, sourceDirectory: File, inclusiveDot: Boolean): (Array[String], GeneratedSourceVirtual)
def parseAndGenerateCode(templateName: Array[String], content: Array[Byte], codec: Codec, relativePath: String, resultType: String, formatterType: String, additionalImports: Seq[String], constructorAnnotations: Seq[String], inclusiveDot: Boolean): String
def source2TemplateName(f: File, sourceDirectory: File, ext: String, suffix: String, topDirectory: String, setExt: Boolean): String
In this article