org.eclipse.xtext.xtend2.richstring
Class TextLine.LeadingWSTextLinePart
java.lang.Object
org.eclipse.xtext.xtend2.richstring.TextLine
org.eclipse.xtext.xtend2.richstring.TextLine.LeadingWSTextLinePart
- All Implemented Interfaces:
- java.lang.CharSequence
- Enclosing class:
- TextLine
protected static class TextLine.LeadingWSTextLinePart
- extends TextLine
Methods inherited from class org.eclipse.xtext.xtend2.richstring.TextLine |
charAt, equals, getCompleteText, getDelimiterLength, getRelativeOffset, hashCode, hasTrailingLineBreak, length, subSequence, throwIndexOutOfBounds, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
TextLine.LeadingWSTextLinePart
public TextLine.LeadingWSTextLinePart(java.lang.String completeText,
int offset,
int length)
getLeadingWhiteSpace
public java.lang.CharSequence getLeadingWhiteSpace()
- Overrides:
getLeadingWhiteSpace
in class TextLine
hasLeadingWhiteSpace
public boolean hasLeadingWhiteSpace()
- Overrides:
hasLeadingWhiteSpace
in class TextLine
containsOnlyWhitespace
public boolean containsOnlyWhitespace()
- Overrides:
containsOnlyWhitespace
in class TextLine