- All Implemented Interfaces:
- Comment
public class CommentWrapper
extends Object
implements Comment
This class was created as a wrapper for the two comment types
(from the Rhino parser and the new parser) so that we could
provide an implementation of the Comment interface, regardless
of which parser is used. Now there is only one parser so:
TODO(tbreisacher): Consider remove this class and letting
com.google.javascript.jscomp.parsing.parser.trees.Comment
implement the Comment interface directly, as long as doing so
doesn't leak the intermediate AST.