| Package | Description |
|---|---|
| org.eclipse.xtext.xbase | |
| org.eclipse.xtext.xbase.compiler | |
| org.eclipse.xtext.xbase.controlflow | |
| org.eclipse.xtext.xbase.impl | |
| org.eclipse.xtext.xbase.interpreter | |
| org.eclipse.xtext.xbase.interpreter.impl | |
| org.eclipse.xtext.xbase.serializer | |
| org.eclipse.xtext.xbase.typesystem.computation |
This package contains the primary hooks for the actual type computation in Xbase
as well as their respective base implementations.
|
| org.eclipse.xtext.xbase.util | |
| org.eclipse.xtext.xbase.validation |
| Modifier and Type | Method and Description |
|---|---|
XNumberLiteral |
XbaseFactory.createXNumberLiteral()
Returns a new object of class 'XNumber Literal'
|
| Modifier and Type | Method and Description |
|---|---|
void |
LiteralsCompiler._toJavaExpression(XNumberLiteral expr,
ITreeAppendable b) |
void |
LiteralsCompiler._toJavaStatement(XNumberLiteral expr,
ITreeAppendable b,
boolean isReferenced) |
| Modifier and Type | Method and Description |
|---|---|
protected org.eclipse.xtext.xbase.controlflow.EvaluationResult |
ConstantConditionsInterpreter._internalEvaluate(XNumberLiteral it,
EvaluationContext context) |
| Modifier and Type | Class and Description |
|---|---|
class |
XNumberLiteralImpl
An implementation of the model object 'XNumber Literal'
|
| Modifier and Type | Method and Description |
|---|---|
XNumberLiteral |
XbaseFactoryImpl.createXNumberLiteral() |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
SwitchConstantExpressionsInterpreter._internalEvaluate(XNumberLiteral it,
Context ctx) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
XbaseInterpreter._doEvaluate(XNumberLiteral literal,
IEvaluationContext context,
CancelIndicator indicator) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractXbaseSemanticSequencer.sequence_XNumberLiteral(org.eclipse.emf.ecore.EObject context,
XNumberLiteral semanticObject)
Deprecated.
|
protected void |
AbstractXbaseSemanticSequencer.sequence_XNumberLiteral(ISerializationContext context,
XNumberLiteral semanticObject)
Contexts:
XExpression returns XNumberLiteral
XAssignment returns XNumberLiteral
XAssignment.XBinaryOperation_1_1_0_0_0 returns XNumberLiteral
XOrExpression returns XNumberLiteral
XOrExpression.XBinaryOperation_1_0_0_0 returns XNumberLiteral
XAndExpression returns XNumberLiteral
XAndExpression.XBinaryOperation_1_0_0_0 returns XNumberLiteral
XEqualityExpression returns XNumberLiteral
XEqualityExpression.XBinaryOperation_1_0_0_0 returns XNumberLiteral
XRelationalExpression returns XNumberLiteral
XRelationalExpression.XInstanceOfExpression_1_0_0_0_0 returns XNumberLiteral
XRelationalExpression.XBinaryOperation_1_1_0_0_0 returns XNumberLiteral
XOtherOperatorExpression returns XNumberLiteral
XOtherOperatorExpression.XBinaryOperation_1_0_0_0 returns XNumberLiteral
XAdditiveExpression returns XNumberLiteral
XAdditiveExpression.XBinaryOperation_1_0_0_0 returns XNumberLiteral
XMultiplicativeExpression returns XNumberLiteral
XMultiplicativeExpression.XBinaryOperation_1_0_0_0 returns XNumberLiteral
XUnaryOperation returns XNumberLiteral
XCastedExpression returns XNumberLiteral
XCastedExpression.XCastedExpression_1_0_0_0 returns XNumberLiteral
XPostfixOperation returns XNumberLiteral
XPostfixOperation.XPostfixOperation_1_0_0 returns XNumberLiteral
XMemberFeatureCall returns XNumberLiteral
XMemberFeatureCall.XAssignment_1_0_0_0_0 returns XNumberLiteral
XMemberFeatureCall.XMemberFeatureCall_1_1_0_0_0 returns XNumberLiteral
XPrimaryExpression returns XNumberLiteral
XLiteral returns XNumberLiteral
XParenthesizedExpression returns XNumberLiteral
XExpressionOrVarDeclaration returns XNumberLiteral
XNumberLiteral returns XNumberLiteral
Constraint:
value=Number
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
XbaseTypeComputer._computeTypes(XNumberLiteral object,
ITypeComputationState state) |
int |
NumberLiterals.getBase(XNumberLiteral literal) |
String |
NumberLiterals.getDigits(XNumberLiteral literal) |
protected Class<? extends Number> |
NumberLiterals.getExplicitJavaType(XNumberLiteral literal) |
String |
NumberLiterals.getExponent(XNumberLiteral literal,
String digits) |
Class<? extends Number> |
NumberLiterals.getJavaType(XNumberLiteral literal) |
protected String |
NumberLiterals.getTypeQualifier(XNumberLiteral literal) |
protected String |
NumberLiterals.getXbaseDigits(XNumberLiteral literal) |
protected boolean |
NumberLiterals.isFloatingPoint(XNumberLiteral literal) |
protected boolean |
NumberLiterals.isHex(XNumberLiteral literal) |
Number |
NumberLiterals.numberValue(XNumberLiteral literal,
Class<?> numberType) |
BigDecimal |
NumberLiterals.toBigDecimal(XNumberLiteral literal) |
BigInteger |
NumberLiterals.toBigInteger(XNumberLiteral literal) |
String |
NumberLiterals.toJavaLiteral(XNumberLiteral literal) |
String |
NumberLiterals.toJavaLiteral(XNumberLiteral literal,
boolean removeUnderscores) |
| Modifier and Type | Method and Description |
|---|---|
T |
XbaseSwitch.caseXNumberLiteral(XNumberLiteral object)
Returns the result of interpreting the object as an instance of 'XNumber Literal'
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
XbaseImplicitReturnFinder._findImplicitReturns(XNumberLiteral expression,
ImplicitReturnFinder.Acceptor acceptor) |
protected boolean |
ConstantExpressionValidator._isConstant(XNumberLiteral expression) |
protected void |
XbaseValidator.checkNumberFormat(XNumberLiteral literal) |
Copyright © 2015. All Rights Reserved.