PlusOrMinusSeparated

svsim.vcs.Backend.PlusOrMinusSeparated
sealed trait PlusOrMinusSeparated

Trait that encodes VCS options where some flags use + prefix while others are standalone -.

Some VCS debug access fields must be specified as -flag_name (standalone) rather than +flag_name (part of the main option). This trait allows each boolean field to specify its own prefix via an overrideable method.

Fields returning "+" get prefixed as +field in the combined list Fields returning "" become separate -flag arguments after the main option

Attributes

Source
Backend.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
Self type
Product

Members list

Value members

Abstract methods

def name: String

The name of the option.

The name of the option.

Attributes

Source
Backend.scala

Concrete methods

protected def isMinus(fieldIndex: Int): Boolean

Determine if a field should have empty prefix for standalone flag format

Determine if a field should have empty prefix for standalone flag format

Attributes

Source
Backend.scala
final def toFlags: Seq[String]

Convert the option into command line flags

Convert the option into command line flags

Attributes

Source
Backend.scala