A simple buffer that provides line/col access to chunks of source code held within itself.
Constructor and description |
---|
SourceBuffer
() |
Type Params | Return Type | Name and description |
---|---|---|
|
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 |
Obtains a snippet of the source code within the bounds specified
start
- (inclusive line/ inclusive column)end
- (inclusive line / exclusive column)Writes the specified character into the buffer
Copyright © 2003-2018 The Apache Software Foundation. All rights reserved.