Class DocumentSymbolMapper.DocumentSymbolRangeProvider

  • Enclosing class:
    DocumentSymbolMapper

    @Beta
    public static class DocumentSymbolMapper.DocumentSymbolRangeProvider
    extends java.lang.Object
    Provides range and selection range for a document symbol.
    See Also:
    DocumentSymbol.range, DocumentSymbol.selectionRange
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.eclipse.lsp4j.Range getRange​(org.eclipse.emf.ecore.EObject object)
      The range enclosing this symbol not including leading/trailing whitespace but everything else like comments.
      org.eclipse.lsp4j.Range getSelectionRange​(org.eclipse.emf.ecore.EObject object)
      The range that should be selected and revealed when this symbol is being picked, e.g the name of a function.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DocumentSymbolRangeProvider

        public DocumentSymbolRangeProvider()
    • Method Detail

      • getRange

        public org.eclipse.lsp4j.Range getRange​(org.eclipse.emf.ecore.EObject object)
        The range enclosing this symbol not including leading/trailing whitespace but everything else like comments.
      • getSelectionRange

        public org.eclipse.lsp4j.Range getSelectionRange​(org.eclipse.emf.ecore.EObject object)
        The range that should be selected and revealed when this symbol is being picked, e.g the name of a function.