Package com.ibm.wala.cast.js.html
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.PositionACAstSourcePositionMap.Positionfor 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.PositiongetIncludePosition()get the position of the containing script within the enclosing file.
-
-
-
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
-
-