Interface IHiddenRegion

    • Method Detail

      • containsComment

        boolean containsComment()
        Returns:
        true, if getParts() contains at least one IComment.
      • isUndefined

        boolean isUndefined()
        Returns:
        true, if there is no information about whitespace in this IHiddenRegion. This is the case if there is no node model for this HiddenRegion. There may be no node model during serialization if a semantic model has been constructed or modified programmatically.
      • getAlternatingMergedSpaceAndComments

        java.util.List<ITextSegment> getAlternatingMergedSpaceAndComments()
        Returns:
        returns a list that starts with whitespace, ends with whitespace and contains a sequence of strictly alternating whitespace- and comment-regions.
      • getMergedSpaces

        java.util.List<ITextSegment> getMergedSpaces()