Class PostCommentFieldLocation

  • All Implemented Interfaces:
    java.lang.Comparable<ProgramLocation>

    public class PostCommentFieldLocation
    extends CommentFieldLocation
    The EolCommentFieldLocation class contains specific location information within the EOL comment field of a CodeUnitLocation object.
    • Constructor Detail

      • PostCommentFieldLocation

        public PostCommentFieldLocation​(Program program,
                                        Address addr,
                                        int[] componentPath,
                                        java.lang.String[] comment,
                                        int displayableCommentRow,
                                        int charOffset)
        Construct a new PostCommentFieldLocation.
        Parameters:
        program - the program of the location
        addr - the address of the codeunit.
        componentPath - the componentPath of the codeUnit
        comment - comment text for the particular comment indicated by the address, subtype, and reference address.
        displayableCommentRow - the line within the Post comment as displayed.
        charOffset - the character position on the line within the comment line.
      • PostCommentFieldLocation

        public PostCommentFieldLocation()
        Default constructor needed for restoring an end-of-line field location from XML.