Class RichStringProcessor.ProcessedRichStringBuilder
- java.lang.Object
-
- org.eclipse.emf.ecore.util.Switch<T>
-
- org.eclipse.xtend.core.xtend.util.XtendSwitch<java.lang.Boolean>
-
- 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
Constructors Constructor Description ProcessedRichStringBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
ProcessedRichString
processRichString(RichString richString)
-
Methods inherited from class org.eclipse.xtend.core.xtend.util.XtendSwitch
caseAnonymousClass, caseCreateExtensionInfo, caseJvmAnnotationTarget, caseJvmFormalParameter, caseJvmIdentifiableElement, caseRichStringElseIf, caseXBlockExpression, caseXExpression, caseXForLoopExpression, caseXStringLiteral, caseXtendAnnotationTarget, caseXtendAnnotationType, caseXtendClass, caseXtendConstructor, caseXtendEnum, caseXtendEnumLiteral, caseXtendExecutable, caseXtendField, caseXtendFile, caseXtendFormalParameter, caseXtendFunction, caseXtendInterface, caseXtendMember, caseXtendParameter, caseXtendTypeDeclaration, caseXtendVariableDeclaration, caseXVariableDeclaration, doSwitch, isSwitchFor
-
-
-
-
Method Detail
-
processRichString
public ProcessedRichString processRichString(RichString richString)
-
doSwitch
public java.lang.Boolean doSwitch(org.eclipse.emf.ecore.EObject theEObject)
- Overrides:
doSwitch
in classorg.eclipse.emf.ecore.util.Switch<java.lang.Boolean>
-
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 classXtendSwitch<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 classXtendSwitch<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 classXtendSwitch<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 classXtendSwitch<java.lang.Boolean>
- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'EObject'.
- See Also:
Switch.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 classXtendSwitch<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)
-
-