Home | History | Annotate | Download | only in cover

Lines Matching refs:Position

447 // hasFuncLiteral reports the existence and position of the first func literal
613 // offset translates a token position into a 0-indexed byte offset.
615 return f.fset.Position(pos).Offset
618 // addVariables adds to the end of the file the declarations to set up the counter and position variables.
644 // Initialize the position array field.
647 // A nice long list of positions. Each position is encoded as follows to reduce size:
652 start := f.fset.Position(block.startByte)
653 end := f.fset.Position(block.endByte)
657 // Close the position array.
660 // Initialize the position array field.