Interface ILogicalContainerProvider

    • Method Detail

      • getLogicalContainer

        org.eclipse.xtext.common.types.JvmIdentifiableElement getLogicalContainer​(XExpression expr)
        Returns:
        the JvmIdentifiableElement that directly contains the given expression and therefore defines its scope. null if this expression doesn't have such a context.
      • getNearestLogicalContainer

        org.eclipse.xtext.common.types.JvmIdentifiableElement getNearestLogicalContainer​(org.eclipse.emf.ecore.EObject expr)
        Returns:
        the JvmIdentifiableElement that contains the given expression or any of its containers and therefore defines its scope. null if this expression doesn't live in such a context.
      • getAssociatedExpression

        XExpression getAssociatedExpression​(org.eclipse.xtext.common.types.JvmIdentifiableElement element)
        Returns:
        the XExpression associated with the given JvmIdentifiableElement