case class AttrName(value: String) extends Product with Serializable
This definition won't stop you from assigning the wrong type of value to an attribute so be careful. You can use the specific symbol syntax to reduce the danger slightly. The methods on this class are a builder pattern to ultimately create a Attr object.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- AttrName
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new AttrName(value: String)
Value Members
- def -->(value: Function0[_]): Attr
- def -->?[F](value: Option[F])(implicit toJSFunction: (F) => Function0[_]): Attrs
- def :=(value: AttrValue): Attr
- def :=?[A](value: Option[A])(implicit toAttrValue: (A) => AttrValue): Attrs
- def ==>[T](value: Function1[T, _]): Attr
- def ==>?[T, FT](value: Option[FT])(implicit toJsFunction: (FT) => Function1[T, _]): Attrs
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val value: String