Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RangeWriter ¶
type RangeWriter struct { Current parser.Position // contains filtered or unexported fields }
func NewRangeWriter ¶
func NewRangeWriter(w io.Writer) *RangeWriter
func (*RangeWriter) Write ¶
func (rw *RangeWriter) Write(s string) (r parser.Range, err error)
func (*RangeWriter) WriteIndent ¶
func (rw *RangeWriter) WriteIndent(level int, s string) (r parser.Range, err error)
func (*RangeWriter) WriteStringLiteral ¶ added in v0.2.315
func (rw *RangeWriter) WriteStringLiteral(level int, s string) (r parser.Range, err error)
Click to show internal directories.
Click to hide internal directories.