public interface CAstSourcePositionMap
| Modifier and Type | Interface and Description |
|---|---|
static interface |
CAstSourcePositionMap.Position
This interface encapsulates the source position of an ast node in its source file.
|
| Modifier and Type | Field and Description |
|---|---|
static CAstSourcePositionMap.Position |
NO_INFORMATION |
| Modifier and Type | Method and Description |
|---|---|
java.util.Iterator<CAstNode> |
getMappedNodes()
Returns an iterator of all CAstNodes for which this map contains source mapping information.
|
CAstSourcePositionMap.Position |
getPosition(CAstNode n)
Returns the position of a given node in its source file, or null if the position is not known
or does not exist.
|
java.util.SortedSet<CAstSourcePositionMap.Position> |
positions()
Returns an ordered set of all positions in this map.
|
static final CAstSourcePositionMap.Position NO_INFORMATION
CAstSourcePositionMap.Position getPosition(CAstNode n)
java.util.Iterator<CAstNode> getMappedNodes()
java.util.SortedSet<CAstSourcePositionMap.Position> positions()