| Modifier and Type | Interface and Description |
|---|---|
static interface |
Parser.Config
Config describes the complete configuration of a
Parser.
|
| Modifier and Type | Field and Description |
|---|---|
static Object |
END_OF_INPUT
The value returned by
nextValue(Parseable) to indicate
that no more values will can be parsed form the a given
Parseable. |
static final Object END_OF_INPUT
nextValue(Parseable) to indicate
that no more values will can be parsed form the a given
Parseable.Object nextValue(Parseable pbr)
pbr. Calling nextValue on a Parser created with the default configuration
can return any of the following:
String with the contents of a string literal.Character for a character literal.Long for an integer small enough to fit in its
range and not marked by a trailing 'N'.BigInteger for an integer
too large to fit in a Long or marked by a trailing
'N'.Double for a binary floating point literalBigDecimal for an arbitrary
precision decimal floating point literal, which is
indicated by a trailing 'M' in edn.Symbol for an edn symbol. ('nil',
'true' and 'false' are not symbols.)Boolean for a 'true' or 'false'.
null for a 'nil'.
Keyword for an edn keyword, which
looks like :somename.END_OF_INPUT to indicate that no
more values can be parsed form pbr.List for an edn
list.
List implementing RandomAccess for an edn
vector.
Set for an edn set.
Map for an edn map.
Date for an
instant literal.UUID for an
uuid literal.pbr - parse the next value from this Parseable. Must not be null.null.EdnIOException - if the underlying Parseable throws an IOException.EdnSyntaxException - if the contents of the underlying Parseable violates the
syntax of edn.Copyright © 2019. All rights reserved.