Interface CAstSourcePositionMap

  • All Known Implementing Classes:
    CAstSourcePositionRecorder

    public interface CAstSourcePositionMap
    The assumption is that a typical CAst is derived from some kind of textual source file, for which it makes sense to record source position in terms of line and column numbers. This interface encapsulates a mapping from CAstNodes of the an ast to such source positions.
    • Method Detail

      • getMappedNodes

        Iterator<CAstNode> getMappedNodes()
        Returns an iterator of all CAstNodes for which this map contains source mapping information.