php-parser/comment/plain_comment.go

16 lines
203 B
Go
Raw Normal View History

2018-01-02 22:12:28 +00:00
package comment
type PlainComment struct {
value string
}
func NewPlainComment(value string) Comment {
return &PlainComment{
value,
}
}
func (c *PlainComment) String() string {
return c.value
}