public interface IHiddenRegion extends ISequentialRegion
Represents and groups all IWhitespace and comments between two semantic regions. May be empty.
IComment,
IWhitespace,
ISemanticRegion,
ITextRegionAccess| Modifier and Type | Method and Description |
|---|---|
boolean |
containsComment() |
java.util.List<ITextSegment> |
getAlternatingMergedSpaceAndComments() |
java.util.List<ITextSegment> |
getMergedSpaces() |
java.util.List<IHiddenRegionPart> |
getParts() |
boolean |
isUndefined() |
getNextHiddenRegion, getNextSemanticRegion, getNextSequentialRegion, getPreviousHiddenRegion, getPreviousSemanticRegion, getPreviousSequentialRegion, immediatelyFollowing, immediatelyPrecedinggetEndOffset, getLineCount, getLineRegions, getText, getTextRegionAccess, isMultiline, merge, replaceWithboolean containsComment()
getParts() contains at least one IComment.java.util.List<IHiddenRegionPart> getParts()
white spaces and comments that belong to this
IHiddenRegion.boolean isUndefined()
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.java.util.List<ITextSegment> getAlternatingMergedSpaceAndComments()
java.util.List<ITextSegment> getMergedSpaces()