Type Members
-
type
Info = String
Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: Any): Boolean
-
def
apply[T](prefix: String, key: String, f: (Info) ⇒ T, default: ⇒ T): T
-
def
apply[T](key: String, f: (Info) ⇒ T, default: ⇒ T): T
-
def
apply[T](prefix: String, key: String, f: (Info) ⇒ T): Box[T]
-
def
apply[T](key: String, f: (Info) ⇒ T): Box[T]
-
def
apply(prefix: String, key: String, default: ⇒ Info): Info
-
def
apply(key: String, default: ⇒ Info): Info
-
def
apply(prefix: String, key: String): Box[Info]
-
def
apply(key: String): Box[Info]
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
def
convert[T](in: Option[T]): Box[T]
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
def
findAttr(prefix: String, key: String): Option[Info]
-
def
findAttr(key: String): Option[Info]
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
~(prefix: String, key: String): Option[NodeSeq]
-
def
~(key: String): Option[NodeSeq]
Used to get an attribute by its name. There are several means to getting attributes:
Note that this uses the data held in S.attrs, which means that it will find attributes through the entire snippet nesting stack. For example, given the snippets:
Calling
S.attr("foo")
from snippetB will returnFull("bar")
.