case class GroupsScript(title: String = "groups", isStart: Boolean = true, groups: GroupsLike)(implicit template: ScriptTemplate[GroupsScript, FragmentsScriptLines], factory: FragmentFactory) extends Script with Product with Serializable
This script associates lines extracted by a template to example bodies defined by a GroupsLike trait.
It can be called several times with a groupIndex and exampleIndex to know exactly which groups and examples it should start associating
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- GroupsScript
- Serializable
- Product
- Equals
- Script
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new GroupsScript(title: String = "groups", isStart: Boolean = true, groups: GroupsLike)(implicit template: ScriptTemplate[GroupsScript, FragmentsScriptLines], factory: FragmentFactory)
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def end: GroupsScript
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def fragments(text: String): FragmentsSeq
create fragments corresponding on this sequence based on a piece of text
create fragments corresponding on this sequence based on a piece of text
- Definition Classes
- GroupsScript → Script
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val groupTemplate: ScriptTemplate[GroupsScript, FragmentsScriptLines]
- val groups: GroupsLike
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val isStart: Boolean
- returns
true if this object marks the beginning of the script
- Definition Classes
- GroupsScript → Script
- def lines(fs: List[Fragment]): List[Fragment]
Go through the list of all fragments.
Go through the list of all fragments. For each piece of text, try to parse it with the template and replace it with new fragments containing examples by associating the marked text with groups examples
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def start: GroupsScript
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val title: String
- returns
the title of the script
- Definition Classes
- GroupsScript → Script
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()