public TextLocation getEndLocation() { final AstNode child = _lastChild; return child != null ? child.getEndLocation() : TextLocation.EMPTY; }
public TextLocation getEndLocation() { final AstNode child = _lastChild; return child != null ? child.getEndLocation() : TextLocation.EMPTY; }
public TextLocation getEndLocation() { final AstNode child = _lastChild; return child != null ? child.getEndLocation() : TextLocation.EMPTY; }
public Region getRegion() { return new Region(getStartLocation(), getEndLocation()); }
public Region getRegion() { return new Region(getStartLocation(), getEndLocation()); }
public Region getRegion() { return new Region(getStartLocation(), getEndLocation()); }
public final boolean contains(final TextLocation location) { if (location == null || location.isEmpty()) { return false; } final TextLocation startLocation = getStartLocation(); final TextLocation endLocation = getEndLocation(); return startLocation != null && endLocation != null && location.compareTo(startLocation) >= 0 && location.compareTo(endLocation) < 0; }
public final boolean contains(final TextLocation location) { if (location == null || location.isEmpty()) { return false; } final TextLocation startLocation = getStartLocation(); final TextLocation endLocation = getEndLocation(); return startLocation != null && endLocation != null && location.compareTo(startLocation) >= 0 && location.compareTo(endLocation) < 0; }
public final boolean isInside(final TextLocation location) { if (location == null || location.isEmpty()) { return false; } final TextLocation startLocation = getStartLocation(); final TextLocation endLocation = getEndLocation(); return startLocation != null && endLocation != null && location.compareTo(startLocation) >= 0 && location.compareTo(endLocation) <= 0; }
public final boolean isInside(final TextLocation location) { if (location == null || location.isEmpty()) { return false; } final TextLocation startLocation = getStartLocation(); final TextLocation endLocation = getEndLocation(); return startLocation != null && endLocation != null && location.compareTo(startLocation) >= 0 && location.compareTo(endLocation) <= 0; }
public final boolean contains(final TextLocation location) { if (location == null || location.isEmpty()) { return false; } final TextLocation startLocation = getStartLocation(); final TextLocation endLocation = getEndLocation(); return startLocation != null && endLocation != null && location.compareTo(startLocation) >= 0 && location.compareTo(endLocation) < 0; }
public final boolean isInside(final TextLocation location) { if (location == null || location.isEmpty()) { return false; } final TextLocation startLocation = getStartLocation(); final TextLocation endLocation = getEndLocation(); return startLocation != null && endLocation != null && location.compareTo(startLocation) >= 0 && location.compareTo(endLocation) <= 0; }