php-parser/comment/comment.go
2018-04-15 15:55:33 +03:00

18 lines
272 B
Go

package comment
// Comment aggrigates information about comment /**
type Comment struct {
value string
}
// NewComment - Comment constructor
func NewComment(value string) *Comment {
return &Comment{
value,
}
}
func (c *Comment) String() string {
return c.value
}