Success

class Success<T>(val result: T, debuggerResult: String) : NiwenParser.ParserResult<T>

Successful parser result.

Constructors

Link copied to clipboard
constructor(result: T, debuggerResult: String)

Functions

Link copied to clipboard
open override fun orThrow(): T

Return the object wrapped by this

Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard

The resulting YAML from the debugger if enabled, or a short message which indicates that the debugger was disabled

Link copied to clipboard
val result: T

The resulting object