Script
trait Script
A Script is an object responsible for analysing a piece of text and creating a sequence of fragments.
It is first created with a list of fragments executions (some code) and when the fragments
method is called it can
associate each execution to some portion of text according to a template.
For example a GWT script (a Scenario
) stores functions to create Given/When/Then steps and examples and the
LastLinesScriptTemplate
extracts the last lines of a piece of text, divides them into blocks of Given/When/Then
lines based on the number of steps in the Scenario.
See the GWTSpec in the examples module
class Object
trait Matchable
class Any