public class SourceInfo extends Object
Constructor and Description |
---|
SourceInfo()
explicit default constructor with no info; assumed to
be filled in with set methods.
|
SourceInfo(int startLine,
int start,
int end,
int construct)
ctor with info already filled in
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructType() |
int |
getEnd() |
int |
getStart() |
int |
getStartingLine() |
void |
setConstructType(int constructType) |
void |
setEnd(int end) |
void |
setStart(int start) |
void |
setStartingLine(int startingLine) |
String |
toString()
A string representation of the object
|
public SourceInfo()
public SourceInfo(int startLine, int start, int end, int construct)
public int getEnd()
public void setEnd(int end)
end
- The end to set.public int getStart()
public void setStart(int start)
start
- The start to set.public int getStartingLine()
public void setStartingLine(int startingLine)
startingLine
- The startingLine to set.public int getConstructType()
public void setConstructType(int constructType)
constructType
- The constructType to set.Copyright (c) 2011 IBM Corporation and others. All Rights Reserved.