public class NodeHidden extends NodeRegion implements IHiddenRegionPart
EMPTY_REGION
Modifier | Constructor and Description |
---|---|
protected |
NodeHidden(HiddenRegion gap,
INode node) |
Modifier and Type | Method and Description |
---|---|
AbstractRule |
getGrammarElement() |
IHiddenRegion |
getHiddenRegion() |
IHiddenRegionPart |
getNextHiddenPart() |
IHiddenRegionPart |
getPreviousHiddenPart() |
getLength, getNode, getOffset, getSemanticElement, getTextRegionAccess, toString
compareTo, contains, contains, equals, getEndOffset, getIndentation, getLineCount, getText, hashCode, isMultiline, merge, splitIntoLines
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getEndOffset, getIndentation, getLineCount, getText, getTextRegionAccess, isMultiline, splitIntoLines
protected NodeHidden(HiddenRegion gap, INode node)
public AbstractRule getGrammarElement()
getGrammarElement
in interface IHiddenRegionPart
getGrammarElement
in class NodeRegion
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.public IHiddenRegion getHiddenRegion()
getHiddenRegion
in interface IHiddenRegionPart
IHiddenRegion
this IWhitespace
or IComment
is a member of.public IHiddenRegionPart getNextHiddenPart()
getNextHiddenPart
in interface IHiddenRegionPart
IWhitespace
or IComment
inside the same IHiddenRegion
. Null if
the current IHiddenRegionPart
is the last element inside its IHiddenRegion
.public IHiddenRegionPart getPreviousHiddenPart()
getPreviousHiddenPart
in interface IHiddenRegionPart
IWhitespace
or IComment
inside the same IHiddenRegion
. Null if the
current IHiddenRegionPart
is the first element inside its IHiddenRegion
.