| The SourceReader provides several services for reading source input.
It calculates line numbers, position in the source file, supports two
character pushback, extracts code from text that allows mixed code and
plain text, and it processes unicode escape sequences that appear in
source code.
Readers return -1 when the end of the stream, has been reached, and so
does SourceReader. SourceReader will also return other special negative
values to indicate a tag substitution. ENTER_CODE is returned to indicate
that characters read are in source code, and ENTER_TEXT is returned to
indicate that characters read are in plain text. The first character read
from a SourceReader is either ENTER_CODE or ENTER_TEXT;
author: Brian S O'Neill version: 16 , 12/11/00 |