Scala Library
|
|
sealed abstract
class
NoSuccess(val
msg : java.lang.String, val override
next : Reader)
extends
ParseResult[Nothing]Value Summary | |
val
|
successful : Boolean |
Method Summary | |
def
|
get
: Nothing
Returns the embedded result
|
def
|
map
[U](f : (Nothing) => U) : NoSuccess
Functional composition of ParseResults
|
def
|
mapPartial
[U](f : PartialFunction[Nothing, U], error : (Nothing) => java.lang.String) : ParseResult[U]
Partial functional composition of ParseResults
|
Methods inherited from ParseResult | |
isEmpty, getOrElse |
Methods inherited from AnyRef | |
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Value Details |
Method Details |
`f' -
the function to be lifted over this result
def
mapPartial[U](f : PartialFunction[Nothing, U], error : (Nothing) => java.lang.String) : ParseResult[U]
`f' -
the partial function to be lifted over this resulterror -
a function that takes the same argument as `f' and produces an error message to explain why `f' wasn't applicable (it is called when this is the case)
def
get : Nothing
Scala Library
|
|