TypedTag

case class TypedTag[+Output <: String](tag: String, modifiers: List[Seq[Modifier]], void: Boolean) extends TypedTag[Builder, Output, String] with Frag with Writable
trait Serializable
trait Product
trait Equals
trait Writable
trait Frag
trait TypedTag[Builder, Output, String]
trait Frag[Builder, Output]
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply(xs: Modifier*): TypedTag[Output]
override def httpContentType: Option[String]
Definition Classes
Writable
def render: Output
override def toString: String

Converts an ScalaTag fragment into an html string

Converts an ScalaTag fragment into an html string

Definition Classes
Any
def writeTo(strb: Writer): Unit

Serialize this TypedTag and all its children out to the given StringBuilder.

Serialize this TypedTag and all its children out to the given StringBuilder.

Although the external interface is pretty simple, the internals are a huge mess, because I've inlined a whole lot of things to improve the performance of this code ~4x from what it originally was, which is a pretty nice speedup

Inherited methods

def applyTo(b: Builder): Unit
Inherited from
Frag
def build(b: Builder): Unit

Walks the modifiers to apply them to a particular Builder. Super sketchy/procedural for max performance.

Walks the modifiers to apply them to a particular Builder. Super sketchy/procedural for max performance.

Inherited from
TypedTag
def contentLength: Option[Long]
Inherited from
Writable
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product
def writeBytesTo(out: OutputStream): Unit
Inherited from
Frag