Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseFilePos ¶
util func to replace parseutil.*
func ResLocToFilePos ¶
Types ¶
type ResLoc ¶
type ResLoc struct {
Path string // raw path
Line int // 0 is nil
Column int // 0 is nil
Offset int // <=-1 is nil // TODO: file:#123?
PathSep rune
Escape rune
Scheme string // ex: "file://", useful to know when to translate to another path separator
Volume string
Pos, End int // contains reverse expansion
}
func (*ResLoc) ClearFilename1 ¶
func (*ResLoc) Stringify1 ¶
type ResLocParser ¶
type ResLocParser struct {
Escape rune
PathSeparator rune
ParseVolume bool
// contains filtered or unexported fields
}
func NewResLocParser ¶
func NewResLocParser() *ResLocParser
func (*ResLocParser) Init ¶
func (p *ResLocParser) Init()
Click to show internal directories.
Click to hide internal directories.