multini/internal/types/emptyline.go

26 lines
373 B
Go
Raw Normal View History

2020-04-25 23:42:14 +00:00
package types
type EmptyLine struct {
Prefix string
}
func (obj *EmptyLine) Full() string {
return obj.Prefix
}
func (obj *EmptyLine) Line() string {
return obj.Prefix
}
func (obj *EmptyLine) Fulln() string {
return obj.Full() + endOfLine
}
func (obj *EmptyLine) Type() TElement {
return TEmptyLine
}
func (obj *EmptyLine) Indent() string {
return obj.Prefix
}