public class StringHidden extends StringRegion implements IHiddenRegionPart
| Modifier | Constructor and Description |
|---|---|
protected |
StringHidden(AbstractHiddenRegion hidden,
AbstractRule rule,
int offset,
int lenght) |
| Modifier and Type | Method and Description |
|---|---|
HiddenRegionPartAssociation |
getAssociation() |
AbstractRule |
getGrammarElement() |
IHiddenRegion |
getHiddenRegion() |
IHiddenRegionPart |
getNextHiddenPart() |
IHiddenRegionPart |
getPreviousHiddenPart() |
protected void |
setAssociation(HiddenRegionPartAssociation association) |
getLength, getOffset, getTextRegionAccess, toStringcompareTo, contains, contains, equals, getEndOffset, getLineCount, getLineRegions, getText, hashCode, isMultiline, merge, replaceWithclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetEndOffset, getLineCount, getLineRegions, getText, getTextRegionAccess, isMultiline, merge, replaceWithprotected StringHidden(AbstractHiddenRegion hidden, AbstractRule rule, int offset, int lenght)
public AbstractRule getGrammarElement()
getGrammarElement in interface IHiddenRegionPartIWhitespace 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 IHiddenRegionPartIHiddenRegion this IWhitespace or IComment is a member of.public IHiddenRegionPart getNextHiddenPart()
getNextHiddenPart in interface IHiddenRegionPartIWhitespace or IComment inside the same IHiddenRegion. Null if
the current IHiddenRegionPart is the last element inside its IHiddenRegion.public IHiddenRegionPart getPreviousHiddenPart()
getPreviousHiddenPart in interface IHiddenRegionPartIWhitespace or IComment inside the same IHiddenRegion. Null if the
current IHiddenRegionPart is the first element inside its IHiddenRegion.protected void setAssociation(HiddenRegionPartAssociation association)
public HiddenRegionPartAssociation getAssociation()
getAssociation in interface IHiddenRegionPartfor custom behaviour.