Class RNGReferenceParticipant

java.lang.Object
org.eclipse.lemminx.services.extensions.AbstractReferenceParticipant
org.eclipse.lemminx.extensions.relaxng.grammar.rng.RNGReferenceParticipant
All Implemented Interfaces:
IReferenceParticipant

public class RNGReferenceParticipant extends AbstractReferenceParticipant
RelaxNG rng reference
Author:
Angelo ZERR
  • Constructor Details

    • RNGReferenceParticipant

      public RNGReferenceParticipant()
  • Method Details

    • match

      protected boolean match(DOMDocument document)
      Description copied from class: AbstractReferenceParticipant
      Returns true if the reference support is applicable for the given document and false otherwise.
      Specified by:
      match in class AbstractReferenceParticipant
      Returns:
      true if the reference support is applicable for the given document and false otherwise.
    • findReferences

      protected void findReferences(DOMNode node, org.eclipse.lsp4j.Position position, int offset, org.eclipse.lsp4j.ReferenceContext context, List<org.eclipse.lsp4j.Location> locations, org.eclipse.lsp4j.jsonrpc.CancelChecker cancelChecker)
      Description copied from class: AbstractReferenceParticipant
      Find the references
      Specified by:
      findReferences in class AbstractReferenceParticipant