Documentation ¶
Index ¶
Constants ¶
View Source
const TabWidth = 4
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Sourcefile ¶
func NewSourcefile ¶
func NewSourcefile(filepath string) (*Sourcefile, error)
func (*Sourcefile) GetLine ¶
func (s *Sourcefile) GetLine(line int) string
func (*Sourcefile) MarkPos ¶
func (s *Sourcefile) MarkPos(pos Position) string
func (*Sourcefile) MarkSpan ¶
func (s *Sourcefile) MarkSpan(span Span) string
type Span ¶
func NewSpanFromTokens ¶
Click to show internal directories.
Click to hide internal directories.