Lines Matching defs:line
44 Line int `json:"line"`
54 // Converter is the interface to an object that can convert between line:column
57 //ToPosition converts from an offset to a line:column pair.
59 //ToOffset converts from a line:column pair to an offset.
60 ToOffset(line, col int) (int, error)
69 func NewPoint(line, col, offset int) Point {
70 p := Point{v: point{Line: line, Column: col, Offset: offset}}
213 // we don't print the line if it did not change
279 line, col, err := c.ToPosition(p.Offset)
283 p.Line = line