type Location … type SourceLocation … var _ … var NoLocation … // NewLocation creates a new location. func NewLocation(line, column int) Location { … } // Line returns the 1-based line of the location. func (l *SourceLocation) Line() int { … } // Column returns the 0-based column number of the location. func (l *SourceLocation) Column() int { … }