php-parser/comment/doc_comment.go

16 lines
199 B
Go
Raw Normal View History

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