XL
.
const XLT_PAR_CLOSE = -9;
const XLT_PAR_OPEN = -8;
const XLT_DOUBLE = -7;
const XLT_FLOAT = -6;
const XLT_LONG = -5;
const XLT_INT = -4;
const XLT_SYMBOL = -3;
const XLT_EPSILON = -2;
const XLT_EOF = -1;
const XLS_SYMBOL = 0;
const XLS_SIGN = 1;
const XLS_INT = 2;
const XLS_DOT = 3;
const XLS_FRAC = 4;
const XLS_EXP_E = 5;
const XLS_EXP_SIGN = 6;
const XLS_EXP = 7;
public InputStream stream;
MutableByteString buffer;
public long int_value;
public double float_value;
public int current_line;
public int token;
int next_char;
XLT_EOF
for end of stream, or XLT_EPSILON
if this should
be considered invalid (and read before starting the next token).
id initWithStream InputStream s;
int intValue;
int_value
as an int. Any loss of bits is not remarked.
MutableString matched;
int nextToken;
(pointer, int) (contents, length) readBytes int expected_length post length == expected_length;
"quoting \\like\\
\"this\""
) and return it. The length should match the expected
length. Anything unexpected results in the return of a NULL
pointer.