Package gnu.kawa.lispexpr
Class ReaderTypespec
- java.lang.Object
-
- gnu.kawa.lispexpr.ReadTableEntry
-
- gnu.kawa.lispexpr.ReaderMisc
-
- gnu.kawa.lispexpr.ReaderConstituent
-
- gnu.kawa.lispexpr.ReaderTypespec
-
public class ReaderTypespec extends ReaderConstituent
Reader table entry for'<'
to treat'['
and']'
as constituents. Lets us use (say)har[]>
as a token even if'['
and']'
are parens.
-
-
Field Summary
-
Fields inherited from class gnu.kawa.lispexpr.ReadTableEntry
ampersand, brace, constituent, illegal, multipleEscape, singleEscape, whitespace
-
-
Constructor Summary
Constructors Constructor Description ReaderTypespec()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
read(Lexer in, int ch, int count)
-
Methods inherited from class gnu.kawa.lispexpr.ReaderMisc
getKind
-
Methods inherited from class gnu.kawa.lispexpr.ReadTableEntry
getConstituentInstance, getDigitInstance, getIllegalInstance, getMultipleEscapeInstance, getSingleEscapeInstance, getWhitespaceInstance, read
-
-
-
-
Method Detail
-
read
public Object read(Lexer in, int ch, int count) throws IOException, SyntaxException
- Overrides:
read
in classReaderConstituent
- Throws:
IOException
SyntaxException
-
-