WrapForMainArgs

replpp.scripting.WrapForMainArgs

So that we can execute the given script and potentially handle parameters, we wrap it in some code using https://github.com/com-lihaoyi/mainargs

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

case class WrappingResult(fullScript: String, linesBeforeWrappedCode: Int)

linesBeforeWrappedCode: allows us to adjust line numbers in error reporting...

linesBeforeWrappedCode: allows us to adjust line numbers in error reporting...

Attributes

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

Value members

Concrete methods

def apply(scriptCode: String): WrappingResult