slT(#id, Pos, Len)

Represents the source location of the AST element with ID #id. Pos is the position and Len the length of the element's textual representation within the source file.

The source file is not represented explicitly in these facts, as it can be deduced from the element's ID and its containment in a certain file. If you want to query location information related to the respective source file use the language-independent predicate sourceLocation(+ID, ?File, ?Offset, ?Length) (see queryapi).

Last modified: 2014/04/13 21:58