Package jamopp.printer
Class LiteralsPrinterSwitch
java.lang.Object
org.eclipse.emf.ecore.util.Switch<T>
org.emftext.language.java.literals.util.LiteralsSwitch<Boolean>
jamopp.printer.LiteralsPrinterSwitch
-
Field Summary
Fields inherited from class org.emftext.language.java.literals.util.LiteralsSwitch
modelPackage
-
Method Summary
Modifier and TypeMethodDescriptionReturns the result of interpreting the object as an instance of 'Binary Integer Literal'.caseBinaryLongLiteral
(BinaryLongLiteral element) Returns the result of interpreting the object as an instance of 'Binary Long Literal'.caseBooleanLiteral
(BooleanLiteral element) Returns the result of interpreting the object as an instance of 'Boolean Literal'.caseCharacterLiteral
(CharacterLiteral element) Returns the result of interpreting the object as an instance of 'Character Literal'.Returns the result of interpreting the object as an instance of 'Decimal Double Literal'.Returns the result of interpreting the object as an instance of 'Decimal Float Literal'.Returns the result of interpreting the object as an instance of 'Decimal Integer Literal'.caseDecimalLongLiteral
(DecimalLongLiteral element) Returns the result of interpreting the object as an instance of 'Decimal Long Literal'.caseHexDoubleLiteral
(HexDoubleLiteral element) Returns the result of interpreting the object as an instance of 'Hex Double Literal'.caseHexFloatLiteral
(HexFloatLiteral element) Returns the result of interpreting the object as an instance of 'Hex Float Literal'.caseHexIntegerLiteral
(HexIntegerLiteral element) Returns the result of interpreting the object as an instance of 'Hex Integer Literal'.caseHexLongLiteral
(HexLongLiteral element) Returns the result of interpreting the object as an instance of 'Hex Long Literal'.caseNullLiteral
(NullLiteral element) Returns the result of interpreting the object as an instance of 'Null Literal'.Returns the result of interpreting the object as an instance of 'Octal Integer Literal'.caseOctalLongLiteral
(OctalLongLiteral element) Returns the result of interpreting the object as an instance of 'Octal Long Literal'.Returns the result of interpreting the object as an instance of 'Super'.Returns the result of interpreting the object as an instance of 'This'.Methods inherited from class org.emftext.language.java.literals.util.LiteralsSwitch
caseAdditiveExpressionChild, caseAndExpressionChild, caseAnnotationValue, caseArrayInitializationValue, caseAssignmentExpressionChild, caseCommentable, caseConditionalAndExpressionChild, caseConditionalExpressionChild, caseConditionalOrExpressionChild, caseDoubleLiteral, caseEqualityExpressionChild, caseExclusiveOrExpressionChild, caseExpression, caseFloatLiteral, caseInclusiveOrExpressionChild, caseInstanceOfExpressionChild, caseIntegerLiteral, caseLambdaBody, caseLiteral, caseLongLiteral, caseMethodReferenceExpressionChild, caseMultiplicativeExpressionChild, casePrimaryExpression, caseRelationExpressionChild, caseSelf, caseShiftExpressionChild, caseUnaryExpressionChild, caseUnaryModificationExpressionChild, defaultCase, doSwitch, isSwitchFor
-
Method Details
-
caseBooleanLiteral
Description copied from class:LiteralsSwitch
Returns the result of interpreting the object as an instance of 'Boolean Literal'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseBooleanLiteral
in classLiteralsSwitch<Boolean>
- Parameters:
element
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Boolean Literal'.
- See Also:
-
caseCharacterLiteral
Description copied from class:LiteralsSwitch
Returns the result of interpreting the object as an instance of 'Character Literal'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseCharacterLiteral
in classLiteralsSwitch<Boolean>
- Parameters:
element
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Character Literal'.
- See Also:
-
caseNullLiteral
Description copied from class:LiteralsSwitch
Returns the result of interpreting the object as an instance of 'Null Literal'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseNullLiteral
in classLiteralsSwitch<Boolean>
- Parameters:
element
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Null Literal'.
- See Also:
-
caseDecimalFloatLiteral
Description copied from class:LiteralsSwitch
Returns the result of interpreting the object as an instance of 'Decimal Float Literal'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseDecimalFloatLiteral
in classLiteralsSwitch<Boolean>
- Parameters:
element
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Decimal Float Literal'.
- See Also:
-
caseHexFloatLiteral
Description copied from class:LiteralsSwitch
Returns the result of interpreting the object as an instance of 'Hex Float Literal'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseHexFloatLiteral
in classLiteralsSwitch<Boolean>
- Parameters:
element
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Hex Float Literal'.
- See Also:
-
caseDecimalDoubleLiteral
Description copied from class:LiteralsSwitch
Returns the result of interpreting the object as an instance of 'Decimal Double Literal'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseDecimalDoubleLiteral
in classLiteralsSwitch<Boolean>
- Parameters:
element
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Decimal Double Literal'.
- See Also:
-
caseHexDoubleLiteral
Description copied from class:LiteralsSwitch
Returns the result of interpreting the object as an instance of 'Hex Double Literal'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseHexDoubleLiteral
in classLiteralsSwitch<Boolean>
- Parameters:
element
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Hex Double Literal'.
- See Also:
-
caseDecimalIntegerLiteral
Description copied from class:LiteralsSwitch
Returns the result of interpreting the object as an instance of 'Decimal Integer Literal'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseDecimalIntegerLiteral
in classLiteralsSwitch<Boolean>
- Parameters:
element
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Decimal Integer Literal'.
- See Also:
-
caseHexIntegerLiteral
Description copied from class:LiteralsSwitch
Returns the result of interpreting the object as an instance of 'Hex Integer Literal'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseHexIntegerLiteral
in classLiteralsSwitch<Boolean>
- Parameters:
element
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Hex Integer Literal'.
- See Also:
-
caseOctalIntegerLiteral
Description copied from class:LiteralsSwitch
Returns the result of interpreting the object as an instance of 'Octal Integer Literal'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseOctalIntegerLiteral
in classLiteralsSwitch<Boolean>
- Parameters:
element
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Octal Integer Literal'.
- See Also:
-
caseBinaryIntegerLiteral
Description copied from class:LiteralsSwitch
Returns the result of interpreting the object as an instance of 'Binary Integer Literal'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseBinaryIntegerLiteral
in classLiteralsSwitch<Boolean>
- Parameters:
element
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Binary Integer Literal'.
- See Also:
-
caseDecimalLongLiteral
Description copied from class:LiteralsSwitch
Returns the result of interpreting the object as an instance of 'Decimal Long Literal'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseDecimalLongLiteral
in classLiteralsSwitch<Boolean>
- Parameters:
element
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Decimal Long Literal'.
- See Also:
-
caseHexLongLiteral
Description copied from class:LiteralsSwitch
Returns the result of interpreting the object as an instance of 'Hex Long Literal'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseHexLongLiteral
in classLiteralsSwitch<Boolean>
- Parameters:
element
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Hex Long Literal'.
- See Also:
-
caseOctalLongLiteral
Description copied from class:LiteralsSwitch
Returns the result of interpreting the object as an instance of 'Octal Long Literal'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseOctalLongLiteral
in classLiteralsSwitch<Boolean>
- Parameters:
element
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Octal Long Literal'.
- See Also:
-
caseBinaryLongLiteral
Description copied from class:LiteralsSwitch
Returns the result of interpreting the object as an instance of 'Binary Long Literal'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseBinaryLongLiteral
in classLiteralsSwitch<Boolean>
- Parameters:
element
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Binary Long Literal'.
- See Also:
-
caseThis
Description copied from class:LiteralsSwitch
Returns the result of interpreting the object as an instance of 'This'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseThis
in classLiteralsSwitch<Boolean>
- Parameters:
element
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'This'.
- See Also:
-
caseSuper
Description copied from class:LiteralsSwitch
Returns the result of interpreting the object as an instance of 'Super'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseSuper
in classLiteralsSwitch<Boolean>
- Parameters:
element
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Super'.
- See Also:
-