ParserForClass

replpp.shaded.mainargs.ParserForClass
See theParserForClass companion object
class ParserForClass[T](val main: MainData[T, Any], val companion: () => Any) extends Class[T]

Attributes

Companion
object
Graph
Supertypes
trait Class[T]
trait TokensReader[T]
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def constructEither(args: Seq[String], allowPositional: Boolean, allowRepeats: Boolean, totalWidth: Int, printHelpOnExit: Boolean, docsOnNewLine: Boolean, autoPrintHelpAndExit: Option[(Int, PrintStream)], customName: String, customDoc: String, sorted: Boolean): Either[String, T]
def constructOrExit(args: Seq[String], allowPositional: Boolean, allowRepeats: Boolean, stderr: PrintStream, totalWidth: Int, printHelpOnExit: Boolean, docsOnNewLine: Boolean, autoPrintHelpAndExit: Option[(Int, PrintStream)], customName: String, customDoc: String): T
def constructOrThrow(args: Seq[String], allowPositional: Boolean, allowRepeats: Boolean, totalWidth: Int, printHelpOnExit: Boolean, docsOnNewLine: Boolean, autoPrintHelpAndExit: Option[(Int, PrintStream)], customName: String, customDoc: String): T
def constructRaw(args: Seq[String], allowPositional: Boolean, allowRepeats: Boolean): Result[T]
def helpText(totalWidth: Int, docsOnNewLine: Boolean, customName: String, customDoc: String, sorted: Boolean): String

Inherited methods

override def isClass: Boolean

Attributes

Definition Classes
Inherited from:
Class
def isConstant: Boolean

Attributes

Inherited from:
TokensReader
def isFlag: Boolean

Attributes

Inherited from:
TokensReader
def isLeftover: Boolean

Attributes

Inherited from:
TokensReader
def isSimple: Boolean

Attributes

Inherited from:
TokensReader

Concrete fields

val companion: () => Any
val main: MainData[T, Any]