public interface SourceInfo extends Serializable
Modifier and Type | Method and Description |
---|---|
void |
addCorrelation(Correlation c)
Add a Correlation to the SourceInfo.
|
Correlation |
getCorrelation(Correlation.Axis axis)
Return the Correlation that has been set for a given Axis, or
null if no Correlation has been set on the given axis. |
Correlation[] |
getCorrelations()
Returns the Correlations added along each Axis on which a Correlation has
been set.
|
CorrelationFactory |
getCorrelator()
Returns the correlation factory that created this node.
|
int |
getEndPos() |
String |
getFileName() |
SourceOrigin |
getOrigin() |
int |
getStartLine() |
int |
getStartPos() |
SourceInfo |
makeChild()
Create a child node of the same type and Origin as this node.
|
SourceInfo |
makeChild(SourceOrigin origin)
Create a child node of the same type as this node, but with a new Origin.
|
void addCorrelation(Correlation c)
Correlation getCorrelation(Correlation.Axis axis)
null
if no Correlation has been set on the given axis.Correlation[] getCorrelations()
CorrelationFactory getCorrelator()
int getEndPos()
String getFileName()
SourceOrigin getOrigin()
int getStartLine()
int getStartPos()
SourceInfo makeChild()
SourceInfo makeChild(SourceOrigin origin)
Copyright © 2018. All rights reserved.