GridDSL

io.github.srs.model.dsl.GridDSL
object GridDSL

Domain-Specific Language (DSL) for creating grid-based environments.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
GridDSL.type

Members list

Type members

Classlikes

Implicit conversion from EnvironmentBuilder to Environment.

Implicit conversion from EnvironmentBuilder to Environment.

Attributes

Supertypes
class Conversion[EnvironmentBuilder, Environment]
class Object
trait Matchable
class Any
Self type

Givens

Givens

Implicit conversion from EnvironmentBuilder to Environment.

Implicit conversion from EnvironmentBuilder to Environment.

Attributes

Extensions

Extensions

extension (env: EnvironmentBuilder)
infix def |(next: Cell): EnvironmentBuilder

Adds a cell to the current row in the environment grid.

Adds a cell to the current row in the environment grid.

Value parameters

next

the next cell to add to the current row.

Attributes

Returns

an EnvironmentBuilder with the cell added to the current row.

infix def ||(next: Cell): EnvironmentBuilder

Starts a new row in the environment grid.

Starts a new row in the environment grid.

Value parameters

next

the first cell of the new row.

Attributes

Returns

an EnvironmentBuilder with the new row added.

extension (first: Cell)
infix def |(next: Cell): EnvironmentBuilder

Starts a new row in the environment grid with the given cell.

Starts a new row in the environment grid with the given cell.

Value parameters

next

the next cell in the row.

Attributes

Returns

an EnvironmentBuilder with the new row added.