Modifier and type | Property and description |
---|---|
PyExpressionGenerator | expressionGenerator Replies the generator of XExpression. |
protected java.lang.String | filenameExtension |
protected java.lang.String | outputConfigurationName |
protected java.lang.String | preferenceID |
Modifier and type | Field and description |
---|---|
public static val java.lang.String | PYTHON_FILE_HEADER Header for a Python file. |
var expressionGenerator : PyExpressionGenerator
This property is an alias for the action: getExpressionGenerator
protected val filenameExtension : java.lang.String
This property is an alias for the action: getFilenameExtension
protected val outputConfigurationName : java.lang.String
This property is an alias for the action: getOutputConfigurationName
protected val preferenceID : java.lang.String
This property is an alias for the action: getPreferenceID
public static val PYTHON_FILE_HEADER : java.lang.String = "#!/usr/bin/env python3"
new
protected def _before(SarlCapacityUses,IExtraLanguageGeneratorContext)
protected def _generate(SarlAgent,IExtraLanguageGeneratorContext)
protected def _generate(SarlAnnotationType,IExtraLanguageGeneratorContext)
protected def _generate(SarlBehavior,IExtraLanguageGeneratorContext)
protected def _generate(SarlCapacity,IExtraLanguageGeneratorContext)
protected def _generate(SarlClass,IExtraLanguageGeneratorContext)
protected def _generate(SarlEnumeration,IExtraLanguageGeneratorContext)
protected def _generate(SarlEvent,IExtraLanguageGeneratorContext)
protected def _generate(SarlInterface,IExtraLanguageGeneratorContext)
protected def _generate(SarlSkill,IExtraLanguageGeneratorContext)
protected def _generate(SarlAction,PyAppendable,IExtraLanguageGeneratorContext)
protected def _generate(SarlAnnotationType,PyAppendable,IExtraLanguageGeneratorContext)
protected def _generate(SarlBehaviorUnit,PyAppendable,IExtraLanguageGeneratorContext)
protected def _generate(SarlCapacityUses,PyAppendable,IExtraLanguageGeneratorContext)
protected def _generate(SarlClass,PyAppendable,IExtraLanguageGeneratorContext)
protected def _generate(SarlConstructor,PyAppendable,IExtraLanguageGeneratorContext)
protected def _generate(SarlEnumeration,PyAppendable,IExtraLanguageGeneratorContext)
protected def _generate(SarlField,PyAppendable,IExtraLanguageGeneratorContext)
protected def _generate(SarlInterface,PyAppendable,IExtraLanguageGeneratorContext)
protected def createAppendable(JvmDeclaredType,IExtraLanguageGeneratorContext) : PyAppendable
protected def generateBlockComment(String,PyAppendable) : boolean
protected def generateDocString(String,PyAppendable) : boolean
protected def generateEnumerationDeclaration(SarlEnumeration,PyAppendable,IExtraLanguageGeneratorContext) : boolean
protected def generateExecutable(String,XtendExecutable,boolean,boolean,JvmTypeReference,String,PyAppendable,IExtraLanguageGeneratorContext)
protected def generateFileHeader(QualifiedName,ExtraLanguageAppendable,IExtraLanguageGeneratorContext)
protected def generateGuardEvaluators(String,PyAppendable,IExtraLanguageGeneratorContext)
protected def generateImportStatement(QualifiedName,ExtraLanguageAppendable,IExtraLanguageGeneratorContext)
protected def generatePythonClassDeclaration(String,boolean,List<E>,String,boolean,PyAppendable,IExtraLanguageGeneratorContext) : boolean
protected def generatePythonConstructors(String,List<E>,PyAppendable,IExtraLanguageGeneratorContext) : boolean
protected def generatePythonField(SarlField,PyAppendable,IExtraLanguageGeneratorContext)
protected def generateTypeDeclaration(String,String,boolean,List<E>,String,boolean,List<E>,PyAppendable,IExtraLanguageGeneratorContext,Procedure2<P1,P2>) : boolean
def getExpressionGenerator : PyExpressionGenerator
protected def getFilenameExtension : java.lang.String
protected def getGenerationComment(IExtraLanguageGeneratorContext) : java.lang.String
protected def getOutputConfigurationName : java.lang.String
protected def getPreferenceID : java.lang.String
protected def initializeContext(IExtraLanguageGeneratorContext)
protected def newType(String) : org.eclipse.xtext.common.types.JvmType
def setExpressionGenerator(PyExpressionGenerator)
def setPyGeneratorConfigurationProvider(IPyGeneratorConfigurationProvider)
protected def writeFile(QualifiedName,ExtraLanguageAppendable,IExtraLanguageGeneratorContext) : boolean
protected def writePackageFiles(QualifiedName,String,IExtraLanguageGeneratorContext)