Documentation
¶
Index ¶
- type Embed
- type EmptyLine
- type File
- func (f *File) Format() error
- func (f *File) Name() string
- func (f *File) Parse() (err error)
- func (f *File) SetFileInfos(file []byte, fpath string)
- func (f *File) WriteDashLine(line string) (err error)
- func (f *File) WriteLine(line string) (err error)
- func (f *File) WriteTo(output io.Writer) (err error)
- type Include
- type MultiLineComment
- type Part
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type File ¶
type File struct { Score score Input *bufio.Scanner Parts []Part // contains filtered or unexported fields }
func FromReader ¶
func (*File) SetFileInfos ¶ added in v1.2.4
func (*File) WriteDashLine ¶ added in v1.0.32
type MultiLineComment ¶
type MultiLineComment struct {
// contains filtered or unexported fields
}
func (*MultiLineComment) Contains ¶
func (m *MultiLineComment) Contains(lineno int) bool
func (*MultiLineComment) End ¶
func (m *MultiLineComment) End() int
func (*MultiLineComment) Start ¶
func (m *MultiLineComment) Start() int
Click to show internal directories.
Click to hide internal directories.