GroupsScript

case class GroupsScript(title: String, isStart: Boolean, groups: GroupsLike)(implicit template: ScriptTemplate[GroupsScript, FragmentsScriptLines], factory: FragmentFactory) extends Script

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

trait Serializable
trait Product
trait Equals
trait Script
class Object
trait Matchable
class Any

Value members

Concrete methods

def fragments(text: String): FragmentsSeq
def lines(fs: List[Fragment]): List[Fragment]

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

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

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product