parse

open override fun parse(arguments: ProtocolArguments): YaoABY

Parses arguments into a protocol of type P.

Note that calling Protocol.arguments on the returned value should result in a map equivalent to arguments. This function does not need to check for extra arguments; that is done automatically.

Throws

CompilationError

if the arguments are malformed.