SnuggleInput, checking its contents for
allowed Unicode characters, working out how to map absolute offsets into (line,column)
pairs and producing a WorkingDocument for later use.
| Modifier and Type | Field and Description |
|---|---|
| private final SnuggleInput | |
| private int | |
| private int[] | |
| private WorkingDocument | |
| private final SessionContext |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private int[] | |
| private Reader | |
| public WorkingDocument | |
| public SnuggleInput | |
| public int[] | |
| public SessionContext | |
| private StringBuilder | |
| private StringBuilder | |
| private void |
| input | back to summary |
|---|---|
| private final SnuggleInput input | |
| inputLength | back to summary |
|---|---|
| private int inputLength | |
| newlineIndices | back to summary |
|---|---|
| private int[] newlineIndices | |
| resultingDocument | back to summary |
|---|---|
| private WorkingDocument resultingDocument | |
| sessionContext | back to summary |
|---|---|
| private final SessionContext sessionContext | |
| SnuggleInputReader | back to summary |
|---|---|
| public SnuggleInputReader(SessionContext sessionContext, SnuggleInput input) | |
| calculateNewlineIndicesAndCheckCodePoints | back to summary |
|---|---|
| private int[] calculateNewlineIndicesAndCheckCodePoints(StringBuilder inputData) throws SnuggleParseException | |
| createReader | back to summary |
|---|---|
| private Reader createReader(InputStream inputStream, String encoding) throws UnsupportedEncodingException | |
| createWorkingDocument | back to summary |
|---|---|
| public WorkingDocument createWorkingDocument() throws IOException, SnuggleParseException | |
| getInput | back to summary |
|---|---|
| public SnuggleInput getInput() | |
| getLineAndColumn | back to summary |
|---|---|
| public int[] getLineAndColumn(int index) | |
| getSessionContext | back to summary |
|---|---|
| public SessionContext getSessionContext() | |
| readCharacterStream | back to summary |
|---|---|
| private StringBuilder readCharacterStream(Reader reader) throws IOException | |
| readInputData | back to summary |
|---|---|
| private StringBuilder readInputData() throws IOException | |
| recordSurrogateError | back to summary |
|---|---|
| private void recordSurrogateError(StringBuilder inputData, int index, char codePoint) throws SnuggleParseException | |