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 CAstSourcePositionMap.Position
getReader, getURL, prettyPrintMethods inherited from interface Comparable
compareToMethods inherited from interface 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
-