Nodex

trait Nodex

Extension methods for NodeSeqs and Nodes

Companion:
object
class Object
trait Matchable
class Any
object Nodex.type

Type members

Classlikes

implicit class NodeOps(n: => Node)
implicit class NodeSeqOps(ns: => NodeSeq)

this implicit definition adds an 'unless' method to a NodeSeq so that it is only evaluated if a condition is true. Otherwise NodeSeq.Empty is returned

this implicit definition adds an 'unless' method to a NodeSeq so that it is only evaluated if a condition is true. Otherwise NodeSeq.Empty is returned

implicit class anyReducable[T](ns: Seq[T])

reduce a sequence of T's with a function transforming T's to NodeSeq

reduce a sequence of T's with a function transforming T's to NodeSeq

implicit class extendNode(n: Node)

This class adds more methods to the Node class

This class adds more methods to the Node class

implicit class extendNodeSeq(ns: NodeSeq)

This class adds more methods to the NodeSeq class

This class adds more methods to the NodeSeq class

implicit class reducable(ns: Seq[Node])
implicit class reducableSeq(ns: Seq[NodeSeq])

Implicits

Implicits

final implicit def NodeOps(n: => Node): NodeOps
final implicit def NodeSeqOps(ns: => NodeSeq): NodeSeqOps

this implicit definition adds an 'unless' method to a NodeSeq so that it is only evaluated if a condition is true. Otherwise NodeSeq.Empty is returned

this implicit definition adds an 'unless' method to a NodeSeq so that it is only evaluated if a condition is true. Otherwise NodeSeq.Empty is returned

final implicit def anyReducable[T](ns: Seq[T]): anyReducable[T]

reduce a sequence of T's with a function transforming T's to NodeSeq

reduce a sequence of T's with a function transforming T's to NodeSeq

final implicit def extendNode(n: Node): extendNode

This class adds more methods to the Node class

This class adds more methods to the Node class

final implicit def extendNodeSeq(ns: NodeSeq): extendNodeSeq

This class adds more methods to the NodeSeq class

This class adds more methods to the NodeSeq class

implicit def pairToUnprefixedAttribute(pair: (Any, Any)): UnprefixedAttribute
Returns:

an unprefixed attribute from pair

final implicit def reducable(ns: Seq[Node]): reducable
final implicit def reducableSeq(ns: Seq[NodeSeq]): reducableSeq