StrictDirective

scala.build.preprocessing.directives.StrictDirective
case class StrictDirective(key: String, values: Seq[Value[_]], startColumn: Int)

Represents a directive with a key and a sequence of values.

Value parameters

key

the key of the directive

startColumn

the column where the key of the directive starts

values

the sequence of values of the directive

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def explodeToStringsWithColLimit(colLimit: Int): Seq[String]

Checks whether the directive with the sequence of values will fit into the given column limit, if it does then the function returns the single directive with all the values. If the directive does not fit then the function explodes it into a sequence of directives with distinct values, each with a single value.

Checks whether the directive with the sequence of values will fit into the given column limit, if it does then the function returns the single directive with all the values. If the directive does not fit then the function explodes it into a sequence of directives with distinct values, each with a single value.

Attributes

def position(path: Either[String, Path]): File
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any
def toStringValues: Seq[String]

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product