public class SourceBuffer
extends java.lang.Object
Constructor | Description |
---|---|
SourceBuffer() |
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getSnippet(LineColumn start,
LineColumn end) |
Obtains a snippet of the source code within the bounds specified
|
void |
write(int c) |
Writes the specified character into the buffer
|
public java.lang.String getSnippet(LineColumn start, LineColumn end)
start
- (inclusive line/ inclusive column)end
- (inclusive line / exclusive column)public void write(int c)
c
-