create static method
Implementation
static Location create(int startLine, int startColumn, int startOffset,
int endLine, int endColumn, int endOffset,
[String source = ""]) {
final startSegment = new Segment(startLine, startColumn, startOffset);
final endSegment = new Segment(endLine, endColumn, endOffset);
return new Location(startSegment, endSegment, source);
}