|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.xtext.xtend2.richstring.util.ProcessedRichStringSwitch<java.lang.Boolean> org.eclipse.xtext.xtend2.richstring.RichStringProcessor.Implementation
public static class RichStringProcessor.Implementation
Field Summary |
---|
Fields inherited from class org.eclipse.xtext.xtend2.richstring.util.ProcessedRichStringSwitch |
---|
modelPackage |
Constructor Summary | |
---|---|
RichStringProcessor.Implementation(IRichStringPartAcceptor acceptor,
IRichStringIndentationHandler indentationHandler)
|
Method Summary | |
---|---|
void |
announceIndentation()
|
void |
announceSemanticLinebreak(LineBreak lineBreak)
|
protected void |
announceSemanticText(java.lang.CharSequence text,
RichStringLiteral origin)
|
protected void |
announceTemplateLinebreak(LineBreak lineBreak)
|
void |
announceTemplateText(java.lang.CharSequence text,
RichStringLiteral origin)
|
java.lang.Boolean |
caseElseIfCondition(ElseIfCondition object)
Returns the result of interpreting the object as an instance of 'Else If Condition' |
java.lang.Boolean |
caseElseStart(ElseStart object)
Returns the result of interpreting the object as an instance of 'Else Start' |
java.lang.Boolean |
caseEndIf(EndIf object)
Returns the result of interpreting the object as an instance of 'End If' |
java.lang.Boolean |
caseForLoopEnd(ForLoopEnd object)
Returns the result of interpreting the object as an instance of 'For Loop End' |
java.lang.Boolean |
caseForLoopStart(ForLoopStart object)
Returns the result of interpreting the object as an instance of 'For Loop Start' |
java.lang.Boolean |
caseIfConditionStart(IfConditionStart object)
Returns the result of interpreting the object as an instance of 'If Condition Start' |
java.lang.Boolean |
caseLineBreak(LineBreak object)
Returns the result of interpreting the object as an instance of 'Line Break' |
java.lang.Boolean |
caseLiteral(Literal object)
Returns the result of interpreting the object as an instance of 'Literal' |
java.lang.Boolean |
casePrintedExpression(PrintedExpression object)
Returns the result of interpreting the object as an instance of 'Printed Expression' |
java.lang.Boolean |
caseProcessedRichString(ProcessedRichString object)
Returns the result of interpreting the object as an instance of 'Processed Rich String' |
java.lang.String |
computeInitialIndentation(RichString object)
|
protected void |
computeNextPart(LinePart part)
|
java.lang.Boolean |
doSwitch(org.eclipse.emf.ecore.EObject theEObject)
Calls caseXXX for each class of the model until one returns a non null result; it yields that result |
protected boolean |
isTemplateLine(Line line)
|
protected void |
popIndentation()
|
protected void |
popIndentationTwice()
|
protected void |
pushSemanticIndentation(java.lang.CharSequence line)
|
protected void |
pushTemplateIndentation(java.lang.CharSequence indentation)
|
protected void |
pushTemplateIndentationTwice(java.lang.CharSequence indentation)
|
Methods inherited from class org.eclipse.xtext.xtend2.richstring.util.ProcessedRichStringSwitch |
---|
caseLine, caseLinePart, defaultCase, doSwitch, doSwitch |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RichStringProcessor.Implementation(IRichStringPartAcceptor acceptor, IRichStringIndentationHandler indentationHandler)
Method Detail |
---|
public java.lang.Boolean doSwitch(org.eclipse.emf.ecore.EObject theEObject)
ProcessedRichStringSwitch
caseXXX
for each class of the model until one returns a non null result; it yields that result.
doSwitch
in class ProcessedRichStringSwitch<java.lang.Boolean>
caseXXX
call.public java.lang.Boolean caseProcessedRichString(ProcessedRichString object)
ProcessedRichStringSwitch
caseProcessedRichString
in class ProcessedRichStringSwitch<java.lang.Boolean>
object
- the target of the switch.
doSwitch(EObject)
protected void computeNextPart(LinePart part)
public java.lang.Boolean caseForLoopStart(ForLoopStart object)
ProcessedRichStringSwitch
caseForLoopStart
in class ProcessedRichStringSwitch<java.lang.Boolean>
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Boolean caseForLoopEnd(ForLoopEnd object)
ProcessedRichStringSwitch
caseForLoopEnd
in class ProcessedRichStringSwitch<java.lang.Boolean>
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Boolean caseIfConditionStart(IfConditionStart object)
ProcessedRichStringSwitch
caseIfConditionStart
in class ProcessedRichStringSwitch<java.lang.Boolean>
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Boolean caseElseIfCondition(ElseIfCondition object)
ProcessedRichStringSwitch
caseElseIfCondition
in class ProcessedRichStringSwitch<java.lang.Boolean>
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Boolean caseElseStart(ElseStart object)
ProcessedRichStringSwitch
caseElseStart
in class ProcessedRichStringSwitch<java.lang.Boolean>
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Boolean caseEndIf(EndIf object)
ProcessedRichStringSwitch
caseEndIf
in class ProcessedRichStringSwitch<java.lang.Boolean>
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Boolean casePrintedExpression(PrintedExpression object)
ProcessedRichStringSwitch
casePrintedExpression
in class ProcessedRichStringSwitch<java.lang.Boolean>
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Boolean caseLineBreak(LineBreak object)
ProcessedRichStringSwitch
caseLineBreak
in class ProcessedRichStringSwitch<java.lang.Boolean>
object
- the target of the switch.
doSwitch(EObject)
public java.lang.Boolean caseLiteral(Literal object)
ProcessedRichStringSwitch
caseLiteral
in class ProcessedRichStringSwitch<java.lang.Boolean>
object
- the target of the switch.
doSwitch(EObject)
protected boolean isTemplateLine(Line line)
protected void pushSemanticIndentation(java.lang.CharSequence line)
protected void popIndentation()
protected void popIndentationTwice()
protected void pushTemplateIndentationTwice(java.lang.CharSequence indentation)
protected void pushTemplateIndentation(java.lang.CharSequence indentation)
protected void announceSemanticText(java.lang.CharSequence text, RichStringLiteral origin)
public void announceTemplateText(java.lang.CharSequence text, RichStringLiteral origin)
public void announceIndentation()
protected void announceTemplateLinebreak(LineBreak lineBreak)
public void announceSemanticLinebreak(LineBreak lineBreak)
public java.lang.String computeInitialIndentation(RichString object)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |