php-parser/comment/doc_comment.go
2018-01-12 08:23:58 +02:00

18 lines
290 B
Go

package comment
// DocComment represents comments that start /**
type DocComment struct {
value string
}
// NewDocComment - DocComment constructor
func NewDocComment(value string) *DocComment {
return &DocComment{
value,
}
}
func (c *DocComment) String() string {
return c.value
}