Package de.sebinside.dcp.dsl.generator
Class DSLGenerator
- java.lang.Object
-
- org.eclipse.xtext.generator.AbstractGenerator
-
- de.sebinside.dcp.dsl.generator.DSLGenerator
-
- All Implemented Interfaces:
org.eclipse.xtext.generator.IGenerator2
public class DSLGenerator extends org.eclipse.xtext.generator.AbstractGenerator
-
-
Constructor Summary
Constructors Constructor Description DSLGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<org.palladiosimulator.supporting.prolog.model.prolog.Clause>
compile(CharacteristicClass charateristicClass)
protected List<org.palladiosimulator.supporting.prolog.model.prolog.Clause>
compile(Constraint constraint, Iterable<GlobalConstantDefinition> globalConstants)
void
doGenerate(Resource resource, org.eclipse.xtext.generator.IFileSystemAccess2 fsa, org.eclipse.xtext.generator.IGeneratorContext context)
org.palladiosimulator.supporting.prolog.model.prolog.Program
generateFromModel(Model model)
protected org.palladiosimulator.supporting.prolog.model.prolog.Rule
generateRule(Rule mainRule, String constraintName, Converter converter, Iterable<GlobalConstantDefinition> globalConstants)
org.palladiosimulator.supporting.prolog.model.prolog.Program
getCallableQueryProgram()
Converter
getConverter()
Converter
setDFD2PrologTrace(org.palladiosimulator.dataflow.confidentiality.transformation.prolog.DFD2PrologTransformationTrace trace)
-
-
-
Field Detail
-
converter
protected Converter converter
-
-
Method Detail
-
doGenerate
public void doGenerate(Resource resource, org.eclipse.xtext.generator.IFileSystemAccess2 fsa, org.eclipse.xtext.generator.IGeneratorContext context)
-
generateFromModel
public org.palladiosimulator.supporting.prolog.model.prolog.Program generateFromModel(Model model)
-
getCallableQueryProgram
public org.palladiosimulator.supporting.prolog.model.prolog.Program getCallableQueryProgram()
-
getConverter
public Converter getConverter()
-
setDFD2PrologTrace
public Converter setDFD2PrologTrace(org.palladiosimulator.dataflow.confidentiality.transformation.prolog.DFD2PrologTransformationTrace trace)
-
compile
protected List<org.palladiosimulator.supporting.prolog.model.prolog.Clause> compile(CharacteristicClass charateristicClass)
-
compile
protected List<org.palladiosimulator.supporting.prolog.model.prolog.Clause> compile(Constraint constraint, Iterable<GlobalConstantDefinition> globalConstants)
-
generateRule
protected org.palladiosimulator.supporting.prolog.model.prolog.Rule generateRule(Rule mainRule, String constraintName, Converter converter, Iterable<GlobalConstantDefinition> globalConstants)
-
-