Class SemanticsUtils

java.lang.Object
tools.refinery.language.semantics.SemanticsUtils

public class SemanticsUtils extends Object
  • Constructor Details

    • SemanticsUtils

      public SemanticsUtils()
  • Method Details

    • getNameWithoutRootPrefix

      public Optional<String> getNameWithoutRootPrefix(org.eclipse.emf.ecore.EObject eObject)
    • maybeGetLocalElement

      @Nullable public <T> T maybeGetLocalElement(Problem problem, org.eclipse.xtext.naming.QualifiedName qualifiedName, Class<T> type, org.eclipse.emf.ecore.EClass eClass)
    • maybeGetElement

      @Nullable public <T> T maybeGetElement(Problem problem, org.eclipse.xtext.scoping.IScope scope, org.eclipse.xtext.naming.QualifiedName qualifiedName, Class<T> type)
    • getLocalElement

      @NotNull public <T> T getLocalElement(Problem problem, org.eclipse.xtext.naming.QualifiedName qualifiedName, Class<T> type, org.eclipse.emf.ecore.EClass eClass)
    • getElement

      @NotNull public <T> T getElement(Problem problem, org.eclipse.xtext.scoping.IScope scope, org.eclipse.xtext.naming.QualifiedName qualifiedName, Class<T> type)
    • getTruthValue

      public static TruthValue getTruthValue(Expr expr)