public class EdnReader
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
EdnReader.CharacterReader |
static class |
EdnReader.CommentReader |
static class |
EdnReader.DiscardReader |
static class |
EdnReader.DispatchReader |
static class |
EdnReader.ListReader |
static class |
EdnReader.MapReader |
static class |
EdnReader.MetaReader |
static class |
EdnReader.ReaderException |
static class |
EdnReader.SetReader |
static class |
EdnReader.StringReader |
static class |
EdnReader.TaggedReader |
static class |
EdnReader.UnmatchedDelimiterReader |
static class |
EdnReader.UnreadableReader |
static class |
EdnReader.VectorReader |
Modifier and Type | Field and Description |
---|---|
(package private) static IFn[] |
dispatchMacros |
(package private) static Keyword |
EOF |
(package private) static java.util.regex.Pattern |
floatPat |
(package private) static java.util.regex.Pattern |
intPat |
(package private) static IFn[] |
macros |
(package private) static java.util.regex.Pattern |
ratioPat |
(package private) static Symbol |
SLASH |
(package private) static java.util.regex.Pattern |
symbolPat |
(package private) static IFn |
taggedReader |
Constructor and Description |
---|
EdnReader() |
Modifier and Type | Method and Description |
---|---|
private static IFn |
getMacro(int ch) |
private static java.lang.Object |
interpretToken(java.lang.String s) |
private static boolean |
isMacro(int ch) |
private static boolean |
isTerminatingMacro(int ch) |
(package private) static boolean |
isWhitespace(int ch) |
private static java.lang.Object |
matchNumber(java.lang.String s) |
private static java.lang.Object |
matchSymbol(java.lang.String s) |
(package private) static boolean |
nonConstituent(int ch) |
static java.lang.Object |
read(java.io.PushbackReader r,
boolean eofIsError,
java.lang.Object eofValue,
boolean isRecursive,
java.lang.Object opts) |
static java.lang.Object |
read(java.io.PushbackReader r,
IPersistentMap opts) |
static int |
read1(java.io.Reader r) |
static java.util.List |
readDelimitedList(char delim,
java.io.PushbackReader r,
boolean isRecursive,
java.lang.Object opts) |
private static java.lang.Object |
readNumber(java.io.PushbackReader r,
char initch) |
static java.lang.Object |
readString(java.lang.String s,
IPersistentMap opts) |
private static java.lang.String |
readToken(java.io.PushbackReader r,
char initch,
boolean leadConstituent) |
private static int |
readUnicodeChar(java.io.PushbackReader r,
int initch,
int base,
int length,
boolean exact) |
private static int |
readUnicodeChar(java.lang.String token,
int offset,
int length,
int base) |
(package private) static void |
unread(java.io.PushbackReader r,
int ch) |
static IFn[] macros
static IFn[] dispatchMacros
static java.util.regex.Pattern symbolPat
static java.util.regex.Pattern intPat
static java.util.regex.Pattern ratioPat
static java.util.regex.Pattern floatPat
static final Symbol SLASH
static IFn taggedReader
static final Keyword EOF
static boolean nonConstituent(int ch)
public static java.lang.Object readString(java.lang.String s, IPersistentMap opts)
static boolean isWhitespace(int ch)
static void unread(java.io.PushbackReader r, int ch)
public static int read1(java.io.Reader r)
public static java.lang.Object read(java.io.PushbackReader r, IPersistentMap opts)
public static java.lang.Object read(java.io.PushbackReader r, boolean eofIsError, java.lang.Object eofValue, boolean isRecursive, java.lang.Object opts)
private static java.lang.String readToken(java.io.PushbackReader r, char initch, boolean leadConstituent)
private static java.lang.Object readNumber(java.io.PushbackReader r, char initch)
private static int readUnicodeChar(java.lang.String token, int offset, int length, int base)
private static int readUnicodeChar(java.io.PushbackReader r, int initch, int base, int length, boolean exact)
private static java.lang.Object interpretToken(java.lang.String s)
private static java.lang.Object matchSymbol(java.lang.String s)
private static java.lang.Object matchNumber(java.lang.String s)
private static IFn getMacro(int ch)
private static boolean isMacro(int ch)
private static boolean isTerminatingMacro(int ch)
public static java.util.List readDelimitedList(char delim, java.io.PushbackReader r, boolean isRecursive, java.lang.Object opts)