io.sarl.lang.compiler
Interface IInlineExpressionCompiler
All Known Implementing Classes:
JavaInlineExpressionCompiler
interface IInlineExpressionCompiler
Compiler for creating inline expressions. Inline expressions are usually attached to the SARL code with the @Inline annotation.
Maven Group Identifier:
io.sarl.lang
Maven Artifact Identifier:
compiler
Since:
0.4
See:
org.eclipse.xtext.xbase.lib.Inline
Action Summary
Modifier and type Action and description
abstract void appendInlineAnnotation(JvmAnnotationTarget,XtendExecutable)
Append the inline annotation to the given operation.
abstract void appendInlineAnnotation(JvmAnnotationTarget,ResourceSet,String,JvmTypeReference*)
Append the inline annotation to the given operation.
Action Details
appendInlineAnnotation(JvmAnnotationTarget,XtendExecutable)
def appendInlineAnnotation(JvmAnnotationTarget,XtendExecutable)
Append the inline annotation to the given operation.
Parameters:
target - the target of the annotation.
source - the feature for which the inline annotation should be added.
appendInlineAnnotation(JvmAnnotationTarget,ResourceSet,String,JvmTypeReference*)
def appendInlineAnnotation(JvmAnnotationTarget,ResourceSet,String,JvmTypeReference*)
Append the inline annotation to the given operation.
Parameters:
target - the target of the annotation.
resourcetSet - the resource set that is associated to the given operation.
inlineExpression - the inline expression.
types - the types to import if the inline expression is used. The references are cloned by this function.