io.sarl.lang.extralanguage.compiler
Class ExtraLanguageAppendable
All Superinterfaces:
org.eclipse.xtext.xbase.compiler.IAppendable, org.eclipse.xtext.xbase.compiler.ISourceAppender
All Known Subclasses:
PyAppendable
class ExtraLanguageAppendable
extends java.lang.Object
Appendable for extra languages.
Maven Group Identifier:
io.sarl.lang
Maven Artifact Identifier:
compiler
Since:
0.6
Property Summary
Modifier and type Property and description
org.eclipse.xtext.xbase.compiler.ImportManager importManager
Replies the import manager.
java.util.List<E> imports
Deprecated since 0.10: getImportManager().getImports().
java.lang.String lineSeparator
Replies the line separator.
Constructor Summary
Constructor and description
new
Constructor.
new(ImportManager)
Constructor.
new(String,String)
Constructor.
new(String,String,ImportManager)
Constructor.
Action Summary
Modifier and type Action and description
protected void appendType(Class<T>,StringBuilder)
protected void appendType(JvmType,StringBuilder)
org.eclipse.xtext.xbase.compiler.ImportManager getImportManager
Replies the import manager.
java.util.List<E> getImports
Deprecated since 0.10: getImportManager().getImports().
java.lang.String getLineSeparator
Replies the line separator.
java.lang.String toString
Property Details
importManager
val importManager : org.eclipse.xtext.xbase.compiler.ImportManager
Replies the import manager.

This property is an alias for the action: getImportManager

Returns:
the import manager.
imports
val imports : java.util.List<E>

This property is an alias for the action: getImports

Deprecated:
getImportManager() . getImports() .
lineSeparator
val lineSeparator : java.lang.String
Replies the line separator.

This property is an alias for the action: getLineSeparator

Returns:
the line separator.
Constructor Details
new
new
Constructor.
new(ImportManager)
new(ImportManager)
Constructor.
Parameters:
importManager - the import manager.
new(String,String)
new(String,String)
Constructor.
Parameters:
indentation - the indentation string.
lineSeparator - the line separator string.
new(String,String,ImportManager)
new(String,String,ImportManager)
Constructor.
Parameters:
indentation - the indentation string.
lineSeparator - the line separator string.
importManager - the import manager.
Action Details
appendType(Class<T>,StringBuilder)
protected def appendType(Class<T>,StringBuilder)
appendType(JvmType,StringBuilder)
protected def appendType(JvmType,StringBuilder)
getImportManager
def getImportManager : org.eclipse.xtext.xbase.compiler.ImportManager
Replies the import manager.
Returns:
the import manager.
getImports
def getImports : java.util.List<E>
Deprecated:
getImportManager() . getImports() .
getLineSeparator
def getLineSeparator : java.lang.String
Replies the line separator.
Returns:
the line separator.
toString
def toString : java.lang.String