Class CompletionParser

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    public class CompletionParser
    extends java.lang.Object
    implements java.io.Closeable
    A specialized parser for autocompletion; maybe better to call it a chunker than a parser...
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      ParsedDocument finish​(java.lang.String uri)  
      void open​(java.lang.String text, java.lang.String uri, java.lang.String version)  
      ParsedDocument parse​(java.lang.String document)  
      void remove​(java.lang.String uri)  
      void update​(java.lang.String uri, java.lang.String version, java.util.List<io.deephaven.proto.backplane.script.grpc.ChangeDocumentRequest.TextDocumentContentChangeEvent> changes)  
      • Methods inherited from class java.lang.Object

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

      • CompletionParser

        public CompletionParser()
    • Method Detail

      • open

        public void open​(java.lang.String text,
                         java.lang.String uri,
                         java.lang.String version)
      • update

        public void update​(java.lang.String uri,
                           java.lang.String version,
                           java.util.List<io.deephaven.proto.backplane.script.grpc.ChangeDocumentRequest.TextDocumentContentChangeEvent> changes)
      • remove

        public void remove​(java.lang.String uri)
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable