Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PositionHelper ¶
type PositionHelper struct {
// contains filtered or unexported fields
}
func NewPositionHelper ¶
func NewPositionHelper(set *token.FileSet) *PositionHelper
func (*PositionHelper) GetContentByPosition ¶
func (l *PositionHelper) GetContentByPosition(node ast.Node) (string, error)
func (*PositionHelper) GetStringPosition ¶
func (l *PositionHelper) GetStringPosition(pos token.Pos) string
Click to show internal directories.
Click to hide internal directories.