public class LineObject
extends java.lang.Object
History:
Constructor and Description |
---|
LineObject()
Creates a default line object
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
GetLine()
Get the line String content of the line object
|
int |
GetLineNum()
Get the line number of the lexical record for the line object
|
void |
IncreaseLineNum()
Increase the line number of the lexical record for the line object
|
boolean |
IsGoToNext()
Get the flag of go to next line for the line object
|
void |
SetGoToNext(boolean goToNext)
Set the flag of go to next line for the line object
|
void |
SetLine(java.lang.String line)
Set the line String content of the line object
|
void |
SetLineNum(int lineNum)
Set the line number of the lexical record for the line object
|
public void SetLine(java.lang.String line)
line
- the line String contentpublic void SetLineNum(int lineNum)
lineNum
- the number of the lexical recordpublic void SetGoToNext(boolean goToNext)
goToNext
- the flag of go to nextpublic java.lang.String GetLine()
public int GetLineNum()
public boolean IsGoToNext()
public void IncreaseLineNum()