source: code/trunk/vendor/github.com/yosssi/gcss/comment.go@ 67

Last change on this file since 67 was 67, checked in by Izuru Yakumo, 23 months ago

Use vendored modules

Signed-off-by: Izuru Yakumo <yakumo.izuru@…>

File size: 368 bytes
Line 
1package gcss
2
3import "io"
4
5// comment represents a comment of CSS.
6type comment struct {
7 elementBase
8}
9
10// WriteTo does nothing.
11func (c *comment) WriteTo(w io.Writer) (int64, error) {
12 return 0, nil
13}
14
15// newComment creates and returns a comment.
16func newComment(ln *line, parent element) *comment {
17 return &comment{
18 elementBase: newElementBase(ln, parent),
19 }
20}
Note: See TracBrowser for help on using the repository browser.