Package gnu.kawa.lispexpr
Class ReaderDispatchSyntaxQuote
- java.lang.Object
-
- gnu.kawa.lispexpr.ReadTableEntry
-
- gnu.kawa.lispexpr.ReaderDispatchSyntaxQuote
-
public class ReaderDispatchSyntaxQuote extends ReadTableEntry
Handle special Scheme forms#`
,#'
, and#,
. This is because#,
has two meanings: (1) equivalent to unsyntax when in the context of a quasisyntax form; (2) otherwise a SRFI10 named constructor.
-
-
Field Summary
-
Fields inherited from class gnu.kawa.lispexpr.ReadTableEntry
ampersand, brace, constituent, illegal, multipleEscape, singleEscape, whitespace
-
-
Constructor Summary
Constructors Constructor Description ReaderDispatchSyntaxQuote()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
read(Lexer in, int ch, int count)
static Object
readNamedConstructor(LispReader reader)
-
Methods inherited from class gnu.kawa.lispexpr.ReadTableEntry
getConstituentInstance, getDigitInstance, getIllegalInstance, getKind, getMultipleEscapeInstance, getSingleEscapeInstance, getWhitespaceInstance, read
-
-
-
-
Method Detail
-
read
public Object read(Lexer in, int ch, int count) throws IOException, SyntaxException
- Overrides:
read
in classReadTableEntry
- Throws:
IOException
SyntaxException
-
readNamedConstructor
public static Object readNamedConstructor(LispReader reader) throws IOException, SyntaxException
- Throws:
IOException
SyntaxException
-
-