php-parser/comment/doc_comment.go

16 lines
195 B
Go
Raw Normal View History

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