public class LispReader
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
LispReader.ArgReader |
static class |
LispReader.CharacterReader |
static class |
LispReader.CommentReader |
static class |
LispReader.CtorReader |
static class |
LispReader.DeprecatedWrappingReader |
static class |
LispReader.DiscardReader |
static class |
LispReader.DispatchReader |
static class |
LispReader.EvalReader |
static class |
LispReader.FnReader |
static class |
LispReader.ListReader |
static class |
LispReader.MapReader |
static class |
LispReader.MetaReader |
static class |
LispReader.ReaderException |
static class |
LispReader.RegexReader |
static class |
LispReader.SetReader |
static class |
LispReader.StringReader |
static class |
LispReader.SyntaxQuoteReader |
static class |
LispReader.UnmatchedDelimiterReader |
(package private) static class |
LispReader.UnquoteReader |
static class |
LispReader.UnreadableReader |
static class |
LispReader.VarReader |
static class |
LispReader.VectorReader |
static class |
LispReader.WrappingReader |
Modifier and Type | Field and Description |
---|---|
(package private) static Symbol |
APPLY |
(package private) static Var |
ARG_ENV |
(package private) static Symbol |
CLOJURE_SLASH |
(package private) static Symbol |
CONCAT |
(package private) static IFn |
ctorReader |
(package private) static Symbol |
DEREF |
(package private) static IFn[] |
dispatchMacros |
(package private) static java.util.regex.Pattern |
floatPat |
(package private) static Var |
GENSYM_ENV |
(package private) static Symbol |
HASHMAP |
(package private) static Symbol |
HASHSET |
(package private) static java.util.regex.Pattern |
intPat |
(package private) static Symbol |
LIST |
(package private) static IFn[] |
macros |
(package private) static Symbol |
META |
(package private) static Symbol |
QUOTE |
(package private) static java.util.regex.Pattern |
ratioPat |
(package private) static Symbol |
SEQ |
(package private) static Symbol |
SLASH |
(package private) static java.util.regex.Pattern |
symbolPat |
(package private) static Symbol |
THE_VAR |
(package private) static Keyword |
UNKNOWN |
(package private) static Symbol |
UNQUOTE |
(package private) static Symbol |
UNQUOTE_SPLICING |
(package private) static Symbol |
VECTOR |
(package private) static Symbol |
WITH_META |
Constructor and Description |
---|
LispReader() |
Modifier and Type | Method and Description |
---|---|
(package private) static Symbol |
garg(int n) |
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 |
isUnquote(java.lang.Object form) |
(package private) static boolean |
isUnquoteSplicing(java.lang.Object form) |
(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) |
static java.lang.Object |
read(java.io.PushbackReader r,
boolean eofIsError,
java.lang.Object eofValue,
boolean isRecursive) |
static int |
read1(java.io.Reader r) |
static java.util.List |
readDelimitedList(char delim,
java.io.PushbackReader r,
boolean isRecursive) |
private static java.lang.Object |
readNumber(java.io.PushbackReader r,
char initch) |
private static java.lang.String |
readToken(java.io.PushbackReader r,
char initch) |
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 Symbol |
registerArg(int n) |
(package private) static void |
unread(java.io.PushbackReader r,
int ch) |
static final Symbol QUOTE
static final Symbol THE_VAR
static Symbol UNQUOTE
static Symbol UNQUOTE_SPLICING
static Symbol CONCAT
static Symbol SEQ
static Symbol LIST
static Symbol APPLY
static Symbol HASHMAP
static Symbol HASHSET
static Symbol VECTOR
static Symbol WITH_META
static Symbol META
static Symbol DEREF
static Keyword UNKNOWN
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 final Symbol CLOJURE_SLASH
static Var GENSYM_ENV
static Var ARG_ENV
static IFn ctorReader
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, boolean eofIsError, java.lang.Object eofValue, boolean isRecursive)
private static java.lang.String readToken(java.io.PushbackReader r, char initch)
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)
static Symbol garg(int n)
static Symbol registerArg(int n)
static boolean isUnquoteSplicing(java.lang.Object form)
static boolean isUnquote(java.lang.Object form)
public static java.util.List readDelimitedList(char delim, java.io.PushbackReader r, boolean isRecursive)