public interface IHiddenRegionPart extends ITextSegment
IWhitespace
and IComment
.EMPTY_REGION
Modifier and Type | Method and Description |
---|---|
org.eclipse.emf.ecore.EObject |
getGrammarElement() |
IHiddenRegion |
getHiddenRegion() |
IHiddenRegionPart |
getNextHiddenPart() |
IHiddenRegionPart |
getPreviousHiddenPart() |
getEndOffset, getLineCount, getLineRegions, getText, getTextRegionAccess, isMultiline, merge, replaceWith
contains, contains, getLength, getOffset
org.eclipse.emf.ecore.EObject getGrammarElement()
IWhitespace
or IComment
. This should be
an TerminalRule
for tokens the grammar defined as 'hidden'. May be another grammar element if the
construction of the ITextRegionAccess
has been customized.IHiddenRegion getHiddenRegion()
IHiddenRegion
this IWhitespace
or IComment
is a member of.IHiddenRegionPart getNextHiddenPart()
IWhitespace
or IComment
inside the same IHiddenRegion
. Null if
the current IHiddenRegionPart
is the last element inside its IHiddenRegion
.IHiddenRegionPart getPreviousHiddenPart()
IWhitespace
or IComment
inside the same IHiddenRegion
. Null if the
current IHiddenRegionPart
is the first element inside its IHiddenRegion
.