Files
aya/vendor/github.com/yosssi/gcss/comment.go
yakumo.izuru 49698b201a Use vendored modules
Signed-off-by: Izuru Yakumo <yakumo.izuru@chaotic.ninja>

git-svn-id: file:///srv/svn/repo/aya/trunk@67 cec141ff-132a-4243-88a5-ce187bd62f94
2023-07-23 13:18:53 +00:00

21 lines
368 B
Go

package gcss
import "io"
// comment represents a comment of CSS.
type comment struct {
elementBase
}
// WriteTo does nothing.
func (c *comment) WriteTo(w io.Writer) (int64, error) {
return 0, nil
}
// newComment creates and returns a comment.
func newComment(ln *line, parent element) *comment {
return &comment{
elementBase: newElementBase(ln, parent),
}
}