-
_toJavaExpression(SarlAssertExpression,ITreeAppendable)
-
protected def _toJavaExpression(SarlAssertExpression,ITreeAppendable)
Generate the Java code related to the expression for the assert keyword.
-
Parameters:
-
assertExpression -
appendable -
-
_toJavaExpression(SarlBreakExpression,ITreeAppendable)
-
protected def _toJavaExpression(SarlBreakExpression,ITreeAppendable)
Generate the Java code related to the expression for the break keyword.
-
Parameters:
-
breakExpression -
appendable -
-
_toJavaExpression(SarlContinueExpression,ITreeAppendable)
-
protected def _toJavaExpression(SarlContinueExpression,ITreeAppendable)
Generate the Java code related to the expression for the continue keyword.
-
Parameters:
-
breakExpression -
appendable -
-
Since:
-
-
_toJavaExpression(XCastedExpression,ITreeAppendable)
-
protected def _toJavaExpression(XCastedExpression,ITreeAppendable)
-
_toJavaStatement(SarlAssertExpression,ITreeAppendable,boolean)
-
protected def _toJavaStatement(SarlAssertExpression,ITreeAppendable,boolean)
Generate the Java code to the preparation statements for the assert keyword.
-
Parameters:
-
assertExpression -
appendable -
isReferenced -
-
_toJavaStatement(SarlBreakExpression,ITreeAppendable,boolean)
-
protected def _toJavaStatement(SarlBreakExpression,ITreeAppendable,boolean)
Generate the Java code related to the preparation statements for the break keyword.
-
Parameters:
-
breakExpression -
appendable -
isReferenced -
-
_toJavaStatement(SarlContinueExpression,ITreeAppendable,boolean)
-
protected def _toJavaStatement(SarlContinueExpression,ITreeAppendable,boolean)
Generate the Java code related to the preparation statements for the break keyword.
-
Parameters:
-
breakExpression -
appendable -
isReferenced -
-
Since:
-
-
_toJavaStatement(XCastedExpression,ITreeAppendable,boolean)
-
protected def _toJavaStatement(XCastedExpression,ITreeAppendable,boolean)
-
_toJavaStatement(XClosure,ITreeAppendable,boolean)
-
protected def _toJavaStatement(XClosure,ITreeAppendable,boolean)
-
appendInlineFeatureCall(XAbstractFeatureCall,ITreeAppendable)
-
protected def appendInlineFeatureCall(XAbstractFeatureCall,ITreeAppendable)
-
canBeNotStaticAnonymousClass(XClosure,LightweightTypeReference,JvmOperation)
-
protected def canBeNotStaticAnonymousClass(XClosure,LightweightTypeReference,JvmOperation) : boolean
Replies if the given closure could be represented by an not static anonymous class.
-
Parameters:
-
closure -
typeRef -
operation -
-
Returns:
-
-
Since:
-
-
canCompileToJavaLambda(XClosure,LightweightTypeReference,JvmOperation)
-
protected def canCompileToJavaLambda(XClosure,LightweightTypeReference,JvmOperation) : boolean
-
compile(XExpression,ITreeAppendable,LightweightTypeReference,Set<E>)
-
def compile(XExpression,ITreeAppendable,LightweightTypeReference,Set<E>) : org.eclipse.xtext.xbase.compiler.output.ITreeAppendable
-
doConversion(LightweightTypeReference,LightweightTypeReference,ITreeAppendable,XExpression,Later)
-
protected def doConversion(LightweightTypeReference,LightweightTypeReference,ITreeAppendable,XExpression,Later)
-
doInternalToJavaStatement(XExpression,ITreeAppendable,boolean)
-
def doInternalToJavaStatement(XExpression,ITreeAppendable,boolean)
-
getReferencedLocalVariable(XExpression,boolean)
-
protected def getReferencedLocalVariable(XExpression,boolean) : java.util.Map<K,V>
Replies all the variables that are referenced into the given expression.
-
Parameters:
-
expression -
onlyWritable -
-
Returns:
-
-
internalCanCompileToJavaExpression(XExpression,ITreeAppendable)
-
protected def internalCanCompileToJavaExpression(XExpression,ITreeAppendable) : boolean
-
internalToConvertedExpression(XExpression,ITreeAppendable)
-
def internalToConvertedExpression(XExpression,ITreeAppendable)
-
isAtLeastJava8(EObject)
-
protected def isAtLeastJava8(EObject) : boolean
Replies if the generation is for Java version 8 at least.
-
Parameters:
-
context -
-
Returns:
-
-
isEarlyExit(XExpression)
-
protected def isEarlyExit(XExpression) : boolean
-
isReferenceToIt(XFeatureCall)
-
protected def isReferenceToIt(XFeatureCall) : boolean
Replies if the given feature call has an implicit reference to the it
variable.
-
Parameters:
-
featureCall -
-
Returns:
-
-
Since:
-
-
isVariableDeclarationRequired(XExpression,ITreeAppendable,boolean)
-
protected def isVariableDeclarationRequired(XExpression,ITreeAppendable,boolean) : boolean
-
jvmOperationCallToJavaExpression(XExpression,JvmOperation,XExpression,List<E>,ITreeAppendable)
-
protected def jvmOperationCallToJavaExpression(XExpression,JvmOperation,XExpression,List<E>,ITreeAppendable)
Generate the Java expression for the given JVM operation.
-
Parameters:
-
sourceObject -
operation -
receiver -
arguments -
appendable -
-
logInternalError(Throwable)
-
protected def logInternalError(Throwable)
Log an internal error but do not fail.
-
Parameters:
-
exception -
-
prepareExpression(XExpression,ITreeAppendable)
-
protected def prepareExpression(XExpression,ITreeAppendable)
-
toAnonymousClass(XClosure,ITreeAppendable,LightweightTypeReference,JvmOperation)
-
protected def toAnonymousClass(XClosure,ITreeAppendable,LightweightTypeReference,JvmOperation) : org.eclipse.xtext.xbase.compiler.output.ITreeAppendable