Package org.eclipse.xtext.ide.server
Class DocumentExtensions
- java.lang.Object
-
- org.eclipse.xtext.ide.server.DocumentExtensions
-
public class DocumentExtensions extends java.lang.Object- Since:
- 2.11
-
-
Constructor Summary
Constructors Constructor Description DocumentExtensions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.lsp4j.LocationnewFullLocation(org.eclipse.emf.ecore.EObject object)Returns with thelocationthat represents thefull text regionof the argument.org.eclipse.lsp4j.LocationnewLocation(org.eclipse.emf.ecore.EObject object)org.eclipse.lsp4j.LocationnewLocation(org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EStructuralFeature feature, int indexInList)org.eclipse.lsp4j.LocationnewLocation(org.eclipse.emf.ecore.resource.Resource resource, org.eclipse.xtext.util.ITextRegion textRegion)org.eclipse.lsp4j.PositionnewPosition(org.eclipse.emf.ecore.resource.Resource resource, int offset)org.eclipse.lsp4j.RangenewRange(org.eclipse.emf.ecore.resource.Resource resource, int startOffset, int endOffset)org.eclipse.lsp4j.RangenewRange(org.eclipse.emf.ecore.resource.Resource resource, org.eclipse.xtext.util.ITextRegion region)
-
-
-
Method Detail
-
newPosition
public org.eclipse.lsp4j.Position newPosition(org.eclipse.emf.ecore.resource.Resource resource, int offset)
-
newRange
public org.eclipse.lsp4j.Range newRange(org.eclipse.emf.ecore.resource.Resource resource, int startOffset, int endOffset)
-
newRange
public org.eclipse.lsp4j.Range newRange(org.eclipse.emf.ecore.resource.Resource resource, org.eclipse.xtext.util.ITextRegion region)
-
newLocation
public org.eclipse.lsp4j.Location newLocation(org.eclipse.emf.ecore.resource.Resource resource, org.eclipse.xtext.util.ITextRegion textRegion)
-
newLocation
public org.eclipse.lsp4j.Location newLocation(org.eclipse.emf.ecore.EObject object)
-
newFullLocation
public org.eclipse.lsp4j.Location newFullLocation(org.eclipse.emf.ecore.EObject object)
Returns with thelocationthat represents thefull text regionof the argument.- Since:
- 2.16
-
newLocation
public org.eclipse.lsp4j.Location newLocation(org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EStructuralFeature feature, int indexInList)
-
-