Class NodeHiddenRegion
- java.lang.Object
-
- org.eclipse.xtext.formatting2.regionaccess.internal.AbstractTextSegment
-
- org.eclipse.xtext.formatting2.regionaccess.internal.AbstractHiddenRegion
-
- org.eclipse.xtext.formatting2.regionaccess.internal.NodeHiddenRegion
-
- All Implemented Interfaces:
java.lang.Comparable<ITextSegment>,IHiddenRegion,ISequentialRegion,ITextSegment,org.eclipse.xtext.util.ITextRegion
public class NodeHiddenRegion extends AbstractHiddenRegion
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedNodeHiddenRegion(ITextRegionAccess access)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisUndefined()-
Methods inherited from class org.eclipse.xtext.formatting2.regionaccess.internal.AbstractHiddenRegion
addPart, collectAlternatingSpaceAndComments, containsComment, getAlternatingMergedSpaceAndComments, getLength, getMergedSpaces, getNextHiddenRegion, getNextSemanticRegion, getNextSequentialRegion, getOffset, getParts, getPreviousHiddenRegion, getPreviousSemanticRegion, getPreviousSequentialRegion, getTextRegionAccess, immediatelyFollowing, immediatelyPreceding, initAssociations, setNext, setPrevious, toString
-
Methods inherited from class org.eclipse.xtext.formatting2.regionaccess.internal.AbstractTextSegment
compareTo, contains, contains, equals, getEndOffset, getLineCount, getLineRegions, getText, hashCode, isMultiline, merge, replaceWith
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.xtext.formatting2.regionaccess.ITextSegment
getEndOffset, getLineCount, getLineRegions, getText, isMultiline, merge, replaceWith
-
-
-
-
Constructor Detail
-
NodeHiddenRegion
protected NodeHiddenRegion(ITextRegionAccess access)
-
-
Method Detail
-
isUndefined
public 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.
-
-