Mercurial > yakumo_izuru > aya
diff vendor/github.com/yosssi/gcss/comment.go @ 66:787b5ee0289d draft
Use vendored modules
Signed-off-by: Izuru Yakumo <yakumo.izuru@chaotic.ninja>
author | yakumo.izuru |
---|---|
date | Sun, 23 Jul 2023 13:18:53 +0000 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vendor/github.com/yosssi/gcss/comment.go Sun Jul 23 13:18:53 2023 +0000 @@ -0,0 +1,20 @@ +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), + } +}