/[aya]/vendor/github.com/yosssi/gcss/comment.go
ViewVC logotype

Contents of /vendor/github.com/yosssi/gcss/comment.go

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations)
Mon Sep 30 00:42:06 2024 UTC (6 weeks, 4 days ago) by yakumo_izuru
Branch: MAIN
CVS Tags: HEAD
Mirrored from https://git.chaotic.ninja/git/yakumo_izuru/aya

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

nishi@chaotic.ninja
ViewVC Help
Powered by ViewVC 1.3.0-dev