module LogicalLocation
rascal-0.41.2
org.rascalmpl.typepal-0.15.6
Usage
import LogicalLocation;
Dependencies
extend Location;
function isLexicallyLess
bool isLexicallyLess(loc l, loc r, map[loc,loc] m)
function isStrictlyContainedIn
bool isStrictlyContainedIn(loc inner, loc outer, map[loc,loc] m)
function isContainedIn
bool isContainedIn(loc inner, loc outer, map[loc,loc] m)
function isBefore
bool isBefore(loc inner, loc outer, map[loc,loc] m)
function isImmediatelyBefore
bool isImmediatelyBefore(loc inner, loc outer, map[loc,loc] m)
function beginsAfter
bool beginsAfter(loc inner, loc outer, map[loc,loc] m)
function isAfter
bool isAfter(loc inner, loc outer, map[loc,loc] m)
function isImmediatelyAfter
bool isImmediatelyAfter(loc inner, loc outer, map[loc,loc] m)
function isOverlapping
bool isOverlapping(loc inner, loc outer, map[loc,loc] m)
function cover
loc cover(list[loc] locs, map[loc,loc] m)