Class

levsha.dsl

SymbolDsl

Related Doc: package dsl

Permalink

class SymbolDsl[MiscType] extends Converters[MiscType]

Symbol based DSL allows to define documents

'body(
  'h1(class /= "title", "Hello World"),
  'p("Lorem ipsum dolor")
)
Linear Supertypes
Converters[MiscType], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SymbolDsl
  2. Converters
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SymbolDsl()

    Permalink

Type Members

  1. implicit final class QualifiedNameOps extends AnyRef

    Permalink
  2. implicit final class SymbolOps extends AnyRef

    Permalink
  3. implicit final class XmlNsOps extends AnyRef

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. implicit def arbitraryOptionToNode[T](value: Option[T])(implicit ev: (T) ⇒ Node[MiscType]): Node[MiscType]

    Permalink

    Converts option of T (which can be converted to Node) to document node

    Converts option of T (which can be converted to Node) to document node

    Definition Classes
    Converters
  5. implicit def arbitrarySeqToNode[T](xs: Iterable[T])(implicit ev: (T) ⇒ Node[MiscType]): Node[MiscType]

    Permalink

    Converts sequence of T (which can be converted to Node) to document fragment

    Converts sequence of T (which can be converted to Node) to document fragment

    Definition Classes
    Converters
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. implicit def miscToNode(value: MiscType): Node[MiscType]

    Permalink

    Converts MiscType to text document node

    Converts MiscType to text document node

    Definition Classes
    Converters
  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. val ns: XmlNs.type

    Permalink
  19. implicit def optionToAttr(value: Option[Attr[MiscType]]): Attr[MiscType]

    Permalink

    Implicitly unwraps optional attributes

    Implicitly unwraps optional attributes

    Definition Classes
    Converters
  20. implicit def optionToNode(value: Option[Node[MiscType]]): Node[MiscType]

    Permalink

    Implicitly unwraps optional documents

    Implicitly unwraps optional documents

    Definition Classes
    Converters
  21. implicit def seqToAttr(xs: Iterable[Attr[MiscType]]): Attr[MiscType]

    Permalink

    Converts iterable of attributes to document one attr

    Converts iterable of attributes to document one attr

    Definition Classes
    Converters
  22. implicit def seqToNode(xs: Iterable[Node[MiscType]]): Node[MiscType]

    Permalink

    Converts iterable of templates to document fragment

    Converts iterable of templates to document fragment

    Definition Classes
    Converters
  23. implicit def stringToNode(value: String): Node[MiscType]

    Permalink

    Converts String to text document node

    Converts String to text document node

    Definition Classes
    Converters
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  26. val void: Empty.type

    Permalink
  27. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Converters[MiscType]

Inherited from AnyRef

Inherited from Any

Ungrouped