php-parser/comment/plain_comment.go

16 lines
209 B
Go
Raw Normal View History

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