SE & SDA Wiki

Software Engineering for Smart Data Analytics & Smart Data Analytics for Software Engineering

User Tools

Site Tools


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).

research/jtransformer/api/meta/sourcelocations/slt.txt · Last modified: 2018/05/09 01:59 (external edit)

SEWiki, © 2018