Signed-off-by: Izuru Yakumo <yakumo.izuru@chaotic.ninja> git-svn-id: file:///srv/svn/repo/aya/trunk@67 cec141ff-132a-4243-88a5-ce187bd62f94
21 lines
368 B
Go
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),
|
|
}
|
|
}
|