class SymbolDsl[MiscType] extends AnyRef
Symbol based DSL allows to define documents. Deprecated because Scala 2.13 drops support of symbol literals.
'body( 'h1(class /= "title", "Hello World"), 'p("Lorem ipsum dolor") )
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SymbolDsl
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new SymbolDsl()
Type Members
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- implicit def arbitraryOptionToNode[T](value: Option[T])(implicit ev: (T) => Node[MiscType]): Node[MiscType]
Converts option of T (which can be converted to Node) to document node
- implicit def arbitrarySeqToNode[T](xs: Iterable[T])(implicit ev: (T) => Node[MiscType]): Node[MiscType]
Converts sequence of T (which can be converted to Node) to document fragment
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- implicit def miscToNode(value: MiscType): Node[MiscType]
Converts MiscType to text document node
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val ns: XmlNs.type
- implicit def optionToAttr(value: Option[Attr[MiscType]]): Attr[MiscType]
Implicitly unwraps optional attributes
- implicit def optionToNode(value: Option[Node[MiscType]]): Node[MiscType]
Implicitly unwraps optional documents
- implicit def seqToAttr(xs: Iterable[Attr[MiscType]]): Attr[MiscType]
Converts iterable of attributes to document one attr
- implicit def seqToNode(xs: Iterable[Node[MiscType]]): Node[MiscType]
Converts iterable of templates to document fragment
- implicit def stringToNode(value: String): Node[MiscType]
Converts String to text document node
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- val void: Empty.type
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated