Versions in this module Expand all Collapse all v1 v1.7.1 Oct 27, 2022 Changes in this version + const FileSymPrefix + const PosDefaultStmt + const PosIsStmt + const PosNotStmt + type Pos struct + var NoPos Pos + func MakePos(base *PosBase, line, col uint) Pos + func (p *Pos) SetBase(base *PosBase) + func (p Pos) AbsFilename() string + func (p Pos) After(q Pos) bool + func (p Pos) Base() *PosBase + func (p Pos) Before(q Pos) bool + func (p Pos) Filename() string + func (p Pos) Format(showCol, showOrig bool) string + func (p Pos) IsKnown() bool + func (p Pos) LineNumber() string + func (p Pos) LineNumberHTML() string + func (p Pos) RelCol() uint + func (p Pos) RelFilename() string + func (p Pos) RelLine() uint + func (p Pos) String() string + func (p Pos) SymFilename() string + func (p Pos) WriteTo(w io.Writer, showCol, showOrig bool) + func (x Pos) Col() uint + func (x Pos) IsStmt() uint + func (x Pos) Line() uint + func (x Pos) SameLine(y lico) bool + func (x Pos) Xlogue() PosXlogue + type PosBase struct + func NewFileBase(filename, absFilename string) *PosBase + func NewInliningBase(old *PosBase, inlTreeIndex int) *PosBase + func NewLinePragmaBase(pos Pos, filename, absFilename string, line, col uint) *PosBase + func (b *PosBase) AbsFilename() string + func (b *PosBase) Col() uint + func (b *PosBase) Filename() string + func (b *PosBase) InliningIndex() int + func (b *PosBase) Line() uint + func (b *PosBase) Pos() *Pos + func (b *PosBase) SymFilename() string + type PosTable struct + func (t *PosTable) FileIndex(filename string) int + func (t *PosTable) FileTable() []string + func (t *PosTable) Pos(p XPos) Pos + func (t *PosTable) XPos(pos Pos) XPos + type PosXlogue uint + const PosDefaultLogue + const PosEpilogueBegin + const PosPrologueEnd + type XPos struct + var NoXPos XPos + func (p XPos) After(q XPos) bool + func (p XPos) AtColumn1() XPos + func (p XPos) Before(q XPos) bool + func (p XPos) FileIndex() int32 + func (p XPos) IsKnown() bool + func (p XPos) LineNumber() string + func (p XPos) LineNumberHTML() string + func (p XPos) SameFile(q XPos) bool + func (p XPos) SameFileAndLine(q XPos) bool + func (p XPos) WithBogusLine() XPos + func (p XPos) WithDefaultStmt() XPos + func (p XPos) WithIsStmt() XPos + func (p XPos) WithNotStmt() XPos + func (p XPos) WithXlogue(x PosXlogue) XPos + func (x XPos) Col() uint + func (x XPos) IsStmt() uint + func (x XPos) Line() uint + func (x XPos) SameLine(y lico) bool + func (x XPos) Xlogue() PosXlogue