core
core
japgolly.clearconfig
japgolly.clearconfig.internals
ConfigDef
ConfigDef
ConsumerFn
Exports
ExportsJvm
FailableFunctor
Implicits
Key
Lookup
Lookup
Error
Found
NotFound
Platform
Report
Colours
Colours
HasTable
Settings
Settings
SubReport
Table
ValueDisplay
ValueDisplay
Report
Result
Result
PreparationFailure
QueryFailure
Success
Source
SourceJvm
SourceName
SourceName
SourceNameJvm
SourceNameObject
SourceNameObjectJvm
SourceObject
SourceObjectJvm
Sources
Sources
Store
StoreJvm
StoreObject
StoreObjectJvm
ValueParser
ValueParser
Implicits
ValuePreprocessor
ValuePreprocessor
core
/
japgolly.clearconfig.internals
/
ValueParser
ValueParser
final
class
ValueParser
[
A
](
val
parse:
String
=>
Either
[
String
,
A
])
extends
FailableFunctor
[
ValueParser
,
A
]
Companion:
object
Graph
Supertypes
trait
FailableFunctor
[
ValueParser
,
A
]
class
Object
trait
Matchable
class
Any
Value members
Value members
Concrete methods
def
flatMap
[
B
](
f:
A
=>
ValueParser
[
B
]):
ValueParser
[
B
]
override
def
mapAttempt
[
B
](
f:
A
=>
Either
[
String
,
B
]):
ValueParser
[
B
]
Definition Classes
FailableFunctor
def
orElse
(
other:
=>
ValueParser
[
A
]):
ValueParser
[
A
]
def
preprocessValue
(
f:
String
=>
String
):
ValueParser
[
A
]
Inherited methods
def
ensure
(
test:
A
=>
Boolean
,
errorMsg:
=>
String
):
ValueParser
[
A
]
Inherited from:
FailableFunctor
final
def
ensure_<
(
rhs:
A
)(
implicit
o:
Ordering
[
A
]):
ValueParser
[
A
]
Inherited from:
FailableFunctor
final
def
ensure_<=
(
rhs:
A
)(
implicit
o:
Ordering
[
A
]):
ValueParser
[
A
]
Inherited from:
FailableFunctor
final
def
ensure_>
(
rhs:
A
)(
implicit
o:
Ordering
[
A
]):
ValueParser
[
A
]
Inherited from:
FailableFunctor
final
def
ensure_>=
(
rhs:
A
)(
implicit
o:
Ordering
[
A
]):
ValueParser
[
A
]
Inherited from:
FailableFunctor
def
map
[
B
](
f:
A
=>
B
):
ValueParser
[
B
]
Inherited from:
FailableFunctor
def
mapCatch
[
B
](
f:
A
=>
B
,
e:
Throwable
=>
String
):
ValueParser
[
B
]
Inherited from:
FailableFunctor
def
mapOption
[
B
](
f:
A
=>
Option
[
B
],
errorMsg:
=>
String
):
ValueParser
[
B
]
Inherited from:
FailableFunctor
def
test
(
errorMsg:
A
=>
Option
[
String
]):
ValueParser
[
A
]
Inherited from:
FailableFunctor
Concrete fields
val
parse
:
String
=>
Either
[
String
,
A
]