Interface IncludedPosition

  • All Superinterfaces:
    com.ibm.wala.cast.tree.CAstSourcePositionMap.Position, java.lang.Comparable<com.ibm.wala.classLoader.IMethod.SourcePosition>, com.ibm.wala.classLoader.IMethod.SourcePosition

    public interface IncludedPosition
    extends com.ibm.wala.cast.tree.CAstSourcePositionMap.Position
    A CAstSourcePositionMap.Position for source code that has been included in some enclosing file, e.g., JavaScript code included in an HTML file via a script node.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.ibm.wala.cast.tree.CAstSourcePositionMap.Position getIncludePosition()
      get the position of the containing script within the enclosing file.
      • Methods inherited from interface com.ibm.wala.cast.tree.CAstSourcePositionMap.Position

        getReader, getURL, prettyPrint
      • Methods inherited from interface java.lang.Comparable

        compareTo
      • Methods inherited from interface com.ibm.wala.classLoader.IMethod.SourcePosition

        getFirstCol, getFirstLine, getFirstOffset, getLastCol, getLastLine, getLastOffset
    • Method Detail

      • getIncludePosition

        com.ibm.wala.cast.tree.CAstSourcePositionMap.Position getIncludePosition()
        get the position of the containing script within the enclosing file. E.g., for a position in JavaScript code included in an HTML file, returns the position of the relevant <script> tag in the HTML