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
-
public class LiteralsPrinterSwitch extends LiteralsSwitch<Boolean>
-
-
Field Summary
-
Fields inherited from class org.emftext.language.java.literals.util.LiteralsSwitch
modelPackage
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleancaseBinaryIntegerLiteral(BinaryIntegerLiteral element)Returns the result of interpreting the object as an instance of 'Binary Integer Literal'.BooleancaseBinaryLongLiteral(BinaryLongLiteral element)Returns the result of interpreting the object as an instance of 'Binary Long Literal'.BooleancaseBooleanLiteral(BooleanLiteral element)Returns the result of interpreting the object as an instance of 'Boolean Literal'.BooleancaseCharacterLiteral(CharacterLiteral element)Returns the result of interpreting the object as an instance of 'Character Literal'.BooleancaseDecimalDoubleLiteral(DecimalDoubleLiteral element)Returns the result of interpreting the object as an instance of 'Decimal Double Literal'.BooleancaseDecimalFloatLiteral(DecimalFloatLiteral element)Returns the result of interpreting the object as an instance of 'Decimal Float Literal'.BooleancaseDecimalIntegerLiteral(DecimalIntegerLiteral element)Returns the result of interpreting the object as an instance of 'Decimal Integer Literal'.BooleancaseDecimalLongLiteral(DecimalLongLiteral element)Returns the result of interpreting the object as an instance of 'Decimal Long Literal'.BooleancaseHexDoubleLiteral(HexDoubleLiteral element)Returns the result of interpreting the object as an instance of 'Hex Double Literal'.BooleancaseHexFloatLiteral(HexFloatLiteral element)Returns the result of interpreting the object as an instance of 'Hex Float Literal'.BooleancaseHexIntegerLiteral(HexIntegerLiteral element)Returns the result of interpreting the object as an instance of 'Hex Integer Literal'.BooleancaseHexLongLiteral(HexLongLiteral element)Returns the result of interpreting the object as an instance of 'Hex Long Literal'.BooleancaseNullLiteral(NullLiteral element)Returns the result of interpreting the object as an instance of 'Null Literal'.BooleancaseOctalIntegerLiteral(OctalIntegerLiteral element)Returns the result of interpreting the object as an instance of 'Octal Integer Literal'.BooleancaseOctalLongLiteral(OctalLongLiteral element)Returns the result of interpreting the object as an instance of 'Octal Long Literal'.BooleancaseSuper(Super element)Returns the result of interpreting the object as an instance of 'Super'.BooleancaseThis(This element)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 Detail
-
caseBooleanLiteral
public Boolean caseBooleanLiteral(BooleanLiteral element)
Description copied from class:LiteralsSwitchReturns 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:
caseBooleanLiteralin classLiteralsSwitch<Boolean>- Parameters:
element- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Boolean Literal'.
- See Also:
doSwitch(EObject)
-
caseCharacterLiteral
public Boolean caseCharacterLiteral(CharacterLiteral element)
Description copied from class:LiteralsSwitchReturns 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:
caseCharacterLiteralin classLiteralsSwitch<Boolean>- Parameters:
element- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Character Literal'.
- See Also:
doSwitch(EObject)
-
caseNullLiteral
public Boolean caseNullLiteral(NullLiteral element)
Description copied from class:LiteralsSwitchReturns 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:
caseNullLiteralin classLiteralsSwitch<Boolean>- Parameters:
element- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Null Literal'.
- See Also:
doSwitch(EObject)
-
caseDecimalFloatLiteral
public Boolean caseDecimalFloatLiteral(DecimalFloatLiteral element)
Description copied from class:LiteralsSwitchReturns 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:
caseDecimalFloatLiteralin 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:
doSwitch(EObject)
-
caseHexFloatLiteral
public Boolean caseHexFloatLiteral(HexFloatLiteral element)
Description copied from class:LiteralsSwitchReturns 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:
caseHexFloatLiteralin 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:
doSwitch(EObject)
-
caseDecimalDoubleLiteral
public Boolean caseDecimalDoubleLiteral(DecimalDoubleLiteral element)
Description copied from class:LiteralsSwitchReturns 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:
caseDecimalDoubleLiteralin 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:
doSwitch(EObject)
-
caseHexDoubleLiteral
public Boolean caseHexDoubleLiteral(HexDoubleLiteral element)
Description copied from class:LiteralsSwitchReturns 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:
caseHexDoubleLiteralin 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:
doSwitch(EObject)
-
caseDecimalIntegerLiteral
public Boolean caseDecimalIntegerLiteral(DecimalIntegerLiteral element)
Description copied from class:LiteralsSwitchReturns 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:
caseDecimalIntegerLiteralin 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:
doSwitch(EObject)
-
caseHexIntegerLiteral
public Boolean caseHexIntegerLiteral(HexIntegerLiteral element)
Description copied from class:LiteralsSwitchReturns 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:
caseHexIntegerLiteralin 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:
doSwitch(EObject)
-
caseOctalIntegerLiteral
public Boolean caseOctalIntegerLiteral(OctalIntegerLiteral element)
Description copied from class:LiteralsSwitchReturns 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:
caseOctalIntegerLiteralin 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:
doSwitch(EObject)
-
caseBinaryIntegerLiteral
public Boolean caseBinaryIntegerLiteral(BinaryIntegerLiteral element)
Description copied from class:LiteralsSwitchReturns 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:
caseBinaryIntegerLiteralin 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:
doSwitch(EObject)
-
caseDecimalLongLiteral
public Boolean caseDecimalLongLiteral(DecimalLongLiteral element)
Description copied from class:LiteralsSwitchReturns 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:
caseDecimalLongLiteralin 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:
doSwitch(EObject)
-
caseHexLongLiteral
public Boolean caseHexLongLiteral(HexLongLiteral element)
Description copied from class:LiteralsSwitchReturns 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:
caseHexLongLiteralin 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:
doSwitch(EObject)
-
caseOctalLongLiteral
public Boolean caseOctalLongLiteral(OctalLongLiteral element)
Description copied from class:LiteralsSwitchReturns 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:
caseOctalLongLiteralin 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:
doSwitch(EObject)
-
caseBinaryLongLiteral
public Boolean caseBinaryLongLiteral(BinaryLongLiteral element)
Description copied from class:LiteralsSwitchReturns 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:
caseBinaryLongLiteralin 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:
doSwitch(EObject)
-
caseThis
public Boolean caseThis(This element)
Description copied from class:LiteralsSwitchReturns 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:
caseThisin classLiteralsSwitch<Boolean>- Parameters:
element- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'This'.
- See Also:
doSwitch(EObject)
-
caseSuper
public Boolean caseSuper(Super element)
Description copied from class:LiteralsSwitchReturns 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:
caseSuperin classLiteralsSwitch<Boolean>- Parameters:
element- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Super'.
- See Also:
doSwitch(EObject)
-
-