Interface ITextRegionExtensions

    • Method Detail

      • allSemanticRegions

        java.lang.Iterable<ISemanticRegion> allSemanticRegions​(org.eclipse.emf.ecore.EObject semanticElement)
      • grammarElement

        org.eclipse.emf.ecore.EObject grammarElement​(org.eclipse.emf.ecore.EObject semanticElement)
        Returns:
        the RuleCall or the assigned Action that led to the construction of this EObject. For the model's root element, the ParserRule is returned.
      • immediatelyFollowing

        ISemanticRegionFinder immediatelyFollowing​(org.eclipse.emf.ecore.EObject semanticElement)
      • immediatelyPreceding

        ISemanticRegionFinder immediatelyPreceding​(org.eclipse.emf.ecore.EObject semanticElement)
      • isMultiline

        boolean isMultiline​(org.eclipse.emf.ecore.EObject semanticElement)
        Returns:
        true, if the EObject's text range contains a line-wrap ("\n"). The EObject's text range reaches from the beginning of its first semantic region to the end of its last semantic region.
      • regionForEObject

        IEObjectRegion regionForEObject​(org.eclipse.emf.ecore.EObject semanticElement)
        Returns:
        a text region that reaches from the beginning of its first semantic region to the end of its last semantic region.
      • semanticRegions

        java.lang.Iterable<ISemanticRegion> semanticRegions​(org.eclipse.emf.ecore.EObject semanticElement)