| Modifier and Type | Field and Description |
|---|---|
| private StringBuilder | |
| private final List |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: specified snippet of source code as a String, or null if no source available(inclusive line / inclusive column) start, LineColumn (inclusive line / exclusive column) end)Obtains a snippet of the source code within the bounds specified. |
| public void |
| current | back to summary |
|---|---|
| private StringBuilder current | |
| lines | back to summary |
|---|---|
| private final List<StringBuilder> lines | |
| SourceBuffer | back to summary |
|---|---|
| public SourceBuffer() | |
| getSnippet | back to summary |
|---|---|
| public String getSnippet(LineColumn start, LineColumn end) Obtains a snippet of the source code within the bounds specified.
| |
| write | back to summary |
|---|---|
| public void write(int c) Writes the specified character into the buffer. | |