Class AbstractModelTranslator.RuleTranslator

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected RuleTranslator()
      Creates the translator.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void addRule​(M script, Rule rule)
      Adds the given rule to the
      protected Rule createRule​(de.uni_hildesheim.sse.vilBuildLanguage.RuleDeclaration ruleDecl, TypeDescriptor<?> returnType, VariableDeclaration[] params, M parent)
      Creates a specific rule from the given declaration, parameters and parent.
      protected de.uni_hildesheim.sse.vilBuildLanguage.RuleElementBlock getBlock​(de.uni_hildesheim.sse.vilBuildLanguage.RuleDeclaration ruleDecl)
      Returns the actual rule block.
      protected java.lang.String getDisplayName()
      Returns the display name of the language concept being processed.
      protected org.eclipse.emf.ecore.EStructuralFeature getNameLiteral()
      Returns the name literal.
      protected de.uni_hildesheim.sse.vil.expressions.expressionDsl.ParameterList getParameterList​(de.uni_hildesheim.sse.vilBuildLanguage.RuleDeclaration ruleDecl)
      Returns the actual parameter list.
      protected TypeDescriptor<?> getReturnType​(de.uni_hildesheim.sse.vilBuildLanguage.RuleDeclaration ruleDecl, Resolver resolver)
      Returns the result type of the given ruleDecl.
      protected de.uni_hildesheim.sse.vilBuildLanguage.RuleConditions getRuleConditions​(de.uni_hildesheim.sse.vilBuildLanguage.RuleDeclaration ruleDecl)
      Returns the actual rule conditions.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait