public Location getLocation(Node node) { if (parser != null) { return new Location(file, parser.getStartPosition(this, node), parser.getEndPosition(this, node)); } return location; }
Position end = null; if (start != null) { end = parser.getEndPosition(context, attribute);
Position end = null; if (start != null) { end = parser.getEndPosition(context, attr);