public class SourceLine
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int |
line
Line number in source file
|
private java.lang.String |
text
Text of the source code
|
Constructor and Description |
---|
SourceLine() |
Modifier and Type | Method and Description |
---|---|
int |
getLine()
Line number getter.
|
java.lang.String |
getText()
Source code text getter.
|
void |
setLine(int line)
Line number setter.
|
void |
setText(java.lang.String text)
Source code text setter.
|
private int line
private java.lang.String text
public int getLine()
public void setLine(int line)
line
- Line number.public java.lang.String getText()
public void setText(java.lang.String text)
text
- The source code text.