| 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)
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 |
XbaseJavaValidator.checkNumberFormat(XNumberLiteral literal) |
Copyright © 2015. All Rights Reserved.