Interface IncludedPosition
- All Superinterfaces:
CAstSourcePositionMap.Position
,Comparable<IMethod.SourcePosition>
,IMethod.SourcePosition
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
Modifier and TypeMethodDescriptionget 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 Details
-
getIncludePosition
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
-