org.eclipse.xtend.core.richstring
Class RichStringProcessor.ProcessedRichStringBuilder

java.lang.Object
  extended by org.eclipse.xtend.core.xtend.util.XtendSwitch<java.lang.Boolean>
      extended by org.eclipse.xtend.core.richstring.RichStringProcessor.ProcessedRichStringBuilder
Enclosing class:
RichStringProcessor

public static class RichStringProcessor.ProcessedRichStringBuilder
extends XtendSwitch<java.lang.Boolean>


Field Summary
 
Fields inherited from class org.eclipse.xtend.core.xtend.util.XtendSwitch
modelPackage
 
Constructor Summary
RichStringProcessor.ProcessedRichStringBuilder()
           
 
Method Summary
protected  void addToCurrentLine(LinePart part)
           
 java.lang.Boolean caseRichString(RichString object)
          Returns the result of interpreting the object as an instance of 'Rich String'.
 java.lang.Boolean caseRichStringForLoop(RichStringForLoop object)
          Returns the result of interpreting the object as an instance of 'Rich String For Loop'.
 java.lang.Boolean caseRichStringIf(RichStringIf object)
          Returns the result of interpreting the object as an instance of 'Rich String If'.
 java.lang.Boolean caseRichStringLiteral(RichStringLiteral object)
          Returns the result of interpreting the object as an instance of 'Rich String Literal'.
 java.lang.Boolean defaultCase(org.eclipse.emf.ecore.EObject object)
          Returns the result of interpreting the object as an instance of 'EObject'.
 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.
 ProcessedRichString processRichString(RichString richString)
           
 
Methods inherited from class org.eclipse.xtend.core.xtend.util.XtendSwitch
caseCreateExtensionInfo, caseRichStringElseIf, caseXBlockExpression, caseXExpression, caseXForLoopExpression, caseXStringLiteral, caseXtendAnnotationTarget, caseXtendClass, caseXtendConstructor, caseXtendField, caseXtendFile, caseXtendFunction, caseXtendImport, caseXtendMember, caseXtendParameter, doSwitch, doSwitch
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RichStringProcessor.ProcessedRichStringBuilder

public RichStringProcessor.ProcessedRichStringBuilder()
Method Detail

processRichString

public ProcessedRichString processRichString(RichString richString)

doSwitch

public java.lang.Boolean doSwitch(org.eclipse.emf.ecore.EObject theEObject)
Description copied from class: XtendSwitch
Calls caseXXX for each class of the model until one returns a non null result; it yields that result.

Overrides:
doSwitch in class XtendSwitch<java.lang.Boolean>
Returns:
the first non-null result returned by a caseXXX call.

addToCurrentLine

protected void addToCurrentLine(LinePart part)

caseRichString

public java.lang.Boolean caseRichString(RichString object)
Description copied from class: XtendSwitch
Returns the result of interpreting the object as an instance of 'Rich String'. This implementation returns null; returning a non-null result will terminate the switch.

Overrides:
caseRichString in class XtendSwitch<java.lang.Boolean>
Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Rich String'.
See Also:
doSwitch(EObject)

caseRichStringForLoop

public java.lang.Boolean caseRichStringForLoop(RichStringForLoop object)
Description copied from class: XtendSwitch
Returns the result of interpreting the object as an instance of 'Rich String For Loop'. This implementation returns null; returning a non-null result will terminate the switch.

Overrides:
caseRichStringForLoop in class XtendSwitch<java.lang.Boolean>
Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Rich String For Loop'.
See Also:
doSwitch(EObject)

caseRichStringIf

public java.lang.Boolean caseRichStringIf(RichStringIf object)
Description copied from class: XtendSwitch
Returns the result of interpreting the object as an instance of 'Rich String If'. This implementation returns null; returning a non-null result will terminate the switch.

Overrides:
caseRichStringIf in class XtendSwitch<java.lang.Boolean>
Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Rich String If'.
See Also:
doSwitch(EObject)

defaultCase

public java.lang.Boolean defaultCase(org.eclipse.emf.ecore.EObject object)
Description copied from class: XtendSwitch
Returns the result of interpreting the object as an instance of 'EObject'. This implementation returns null; returning a non-null result will terminate the switch, but this is the last case anyway.

Overrides:
defaultCase in class XtendSwitch<java.lang.Boolean>
Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'EObject'.
See Also:
XtendSwitch.doSwitch(org.eclipse.emf.ecore.EObject)

caseRichStringLiteral

public java.lang.Boolean caseRichStringLiteral(RichStringLiteral object)
Description copied from class: XtendSwitch
Returns the result of interpreting the object as an instance of 'Rich String Literal'. This implementation returns null; returning a non-null result will terminate the switch.

Overrides:
caseRichStringLiteral in class XtendSwitch<java.lang.Boolean>
Parameters:
object - the target of the switch.
Returns:
the result of interpreting the object as an instance of 'Rich String Literal'.
See Also:
doSwitch(EObject)