gnu.kawa.lispexpr
Class ReadTable
- Cloneable
CONSTITUENT
public static final int CONSTITUENT
ILLEGAL
public static final int ILLEGAL
Kinds of characters.
MULTIPLE_ESCAPE
public static final int MULTIPLE_ESCAPE
NON_TERMINATING_MACRO
public static final int NON_TERMINATING_MACRO
SINGLE_ESCAPE
public static final int SINGLE_ESCAPE
TERMINATING_MACRO
public static final int TERMINATING_MACRO
WHITESPACE
public static final int WHITESPACE
defaultBracketMode
public static int defaultBracketMode
Default value to pass to setBracketMode() unless overridden.
ReadTable
public ReadTable()
getCurrent
public static ReadTable getCurrent()
getInitial
public static ReadTable getInitial()
Create a new ReadTable and initialize it appropriately for Common Lisp.
Should be renamed to createInitial or makeInitial. FIXME.
setBracketMode
public void setBracketMode()
Specify how '[' and ']' are handled.
Overless overridden, uses defaultBracketMode.
setBracketMode
public void setBracketMode(int mode)
Specify how '[' and ']' (and '<') are handled.
The value -1 means that '[' and ']' are plain token constituents.
The value 0 means that '[' and ']' are equivalent to '(' and ')'.
The value 1 means that '[' and ']' are equivalent to '(' and ')', except
within a token starting with '<', in which case they are constituents.
This is so '[' is non-terminating when reading say ''
setCurrent
public static void setCurrent(ReadTable rt)