MainData

replpp.shaded.mainargs.MainData
See theMainData companion object
case class MainData[T, B](name: String, argSigs0: Seq[ArgSig], doc: Option[String], invokeRaw: (B, Seq[Any]) => T)

What is known about a single endpoint for our routes. It has a name, flattenedArgSigs for each argument, and a macro-generated invoke0 that performs all the necessary argument parsing and de-serialization.

Realistically, you will probably spend most of your time calling Invoker.invoke instead, which provides a nicer API to call it that mimmicks the API of calling a Scala method.

Attributes

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

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

val flattenedArgSigs: Seq[(ArgSig, Terminal[_])]