|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.xtend.core.richstring.AbstractRichStringPartAcceptor
org.eclipse.xtend.core.richstring.AbstractRichStringPartAcceptor.ForLoopOnce
org.eclipse.xtend.ide.highlighting.XtendHighlightingCalculator.RichStringHighlighter
@NonNullByDefault protected class XtendHighlightingCalculator.RichStringHighlighter
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.eclipse.xtend.core.richstring.AbstractRichStringPartAcceptor |
|---|
AbstractRichStringPartAcceptor.ForLoopOnce |
| Constructor Summary | |
|---|---|
XtendHighlightingCalculator.RichStringHighlighter(IHighlightedPositionAcceptor acceptor)
|
|
| Method Summary | |
|---|---|
void |
acceptElseIfCondition(XExpression condition)
Announces that an |
void |
acceptExpression(XExpression expression,
java.lang.CharSequence indentation)
Announces that an |
void |
acceptForLoop(JvmFormalParameter parameter,
XExpression expression)
Announces that a |
void |
acceptIfCondition(XExpression condition)
Announces that an |
void |
acceptSemanticLineBreak(int charCount,
RichStringLiteral origin,
boolean controlStructureSeen)
Indicates a semantic line break in a rich string literal. |
void |
acceptSemanticText(java.lang.CharSequence text,
RichStringLiteral origin)
|
void |
acceptTemplateLineBreak(int charCount,
RichStringLiteral origin)
Indicates a template line break in a rich string literal. |
void |
acceptTemplateText(java.lang.CharSequence text,
RichStringLiteral origin)
|
void |
announceNextLiteral(RichStringLiteral object)
Announces that a next literal will be processed. |
protected void |
highlightClosingQuotes(INode node)
|
protected void |
resetCurrentOffset(RichStringLiteral origin)
|
| Methods inherited from class org.eclipse.xtend.core.richstring.AbstractRichStringPartAcceptor.ForLoopOnce |
|---|
acceptEndFor, forLoopHasNext |
| Methods inherited from class org.eclipse.xtend.core.richstring.AbstractRichStringPartAcceptor |
|---|
acceptElse, acceptEndIf |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XtendHighlightingCalculator.RichStringHighlighter(IHighlightedPositionAcceptor acceptor)
| Method Detail |
|---|
public void announceNextLiteral(RichStringLiteral object)
IRichStringPartAcceptor
announceNextLiteral in interface IRichStringPartAcceptorannounceNextLiteral in class AbstractRichStringPartAcceptorobject - the literal.
public void acceptSemanticText(java.lang.CharSequence text,
@Nullable
RichStringLiteral origin)
acceptSemanticText in interface IRichStringPartAcceptoracceptSemanticText in class AbstractRichStringPartAcceptortext - the semantic text. May not be null.origin - the value holder for the full text or null, if unknown.
protected void resetCurrentOffset(@Nullable
RichStringLiteral origin)
protected void highlightClosingQuotes(INode node)
public void acceptTemplateText(java.lang.CharSequence text,
@Nullable
RichStringLiteral origin)
acceptTemplateText in interface IRichStringPartAcceptoracceptTemplateText in class AbstractRichStringPartAcceptortext - the template text. May not be null.origin - the value holder for the full text or null, if unknown.
public void acceptSemanticLineBreak(int charCount,
RichStringLiteral origin,
boolean controlStructureSeen)
IRichStringPartAcceptor
acceptSemanticLineBreak in interface IRichStringPartAcceptoracceptSemanticLineBreak in class AbstractRichStringPartAcceptorcharCount - the number of characters in the line break.origin - the instance holding the complete text value that contains the line break.
public void acceptTemplateLineBreak(int charCount,
RichStringLiteral origin)
IRichStringPartAcceptor
acceptTemplateLineBreak in interface IRichStringPartAcceptoracceptTemplateLineBreak in class AbstractRichStringPartAcceptorcharCount - the number of characters in the line break.origin - the instance holding the complete text value that contains the line break.public void acceptIfCondition(XExpression condition)
IRichStringPartAcceptor«IF condition»has been consumed.
acceptIfCondition in interface IRichStringPartAcceptoracceptIfCondition in class AbstractRichStringPartAcceptorcondition - the condition of an RichStringIf.public void acceptElseIfCondition(XExpression condition)
IRichStringPartAcceptor«ELSEIF condition»has been consumed.
acceptElseIfCondition in interface IRichStringPartAcceptoracceptElseIfCondition in class AbstractRichStringPartAcceptorcondition - the condition of an RichStringElseIf.
public void acceptForLoop(JvmFormalParameter parameter,
@Nullable
XExpression expression)
IRichStringPartAcceptor«FOR parameter: expression»has been consumed.
acceptForLoop in interface IRichStringPartAcceptoracceptForLoop in class AbstractRichStringPartAcceptor.ForLoopOnceparameter - the declared parameter in the for-loop.expression - the expression that produces an Iterable.
public void acceptExpression(XExpression expression,
java.lang.CharSequence indentation)
IRichStringPartAcceptor«expression»has been consumed. If the expression's evaluation result contains more than one line, any line besides the first one may be prefixed with the given indentation.
acceptExpression in interface IRichStringPartAcceptoracceptExpression in class AbstractRichStringPartAcceptorexpression - the consumed expression. May not be null.indentation - the additional indentation for any line besides the first one.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||