Class BoxMultiLineComment

All Implemented Interfaces:
BoxVisitable
Direct Known Subclasses:
BoxDocComment

public class BoxMultiLineComment extends BoxComment
class for multi line comments
  • Constructor Details

    • BoxMultiLineComment

      public BoxMultiLineComment(String commentText, Position position, String sourceText)
      Create a instance of a BoxComment
      Parameters:
      position - position within the source code
      sourceText - source code
  • Method Details

    • accept

      public void accept(VoidBoxVisitor v)
      Description copied from interface: BoxVisitable
      Accept method for visitor support.
      Parameters:
      v - the visitor implementation
    • accept

      public BoxNode accept(ReplacingBoxVisitor v)
      Description copied from interface: BoxVisitable
      Accept method for replacing visitor support. Each accept returns the node, or a replacement node.
      Parameters:
      v - the visitor implementation