Versions in this module Expand all Collapse all v0 v0.15.0 Jan 8, 2025 v0.14.1 Aug 26, 2024 Changes in this version + type Cache struct + func New() *Cache + func (c *Cache) Get(uri protocol.DocumentURI) (*Document, error) + func (c *Cache) GetContents(uri protocol.DocumentURI, position protocol.Range) (string, error) + func (c *Cache) GetTopLevelObject(filename, importedFrom string) ([]*ast.DesugaredObject, bool) + func (c *Cache) Put(new *Document) error + func (c *Cache) PutTopLevelObject(filename, importedFrom string, objects []*ast.DesugaredObject) + type Document struct + AST ast.Node + Diagnostics []protocol.Diagnostic + Err error + Item protocol.TextDocumentItem + LinesChangedSinceAST map[int]bool + Val string