Tools

dotty.tools.dotc.semanticdb.Tools
object Tools

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Tools.type

Members list

Value members

Concrete methods

def loadTextDocument(scalaAbsolutePath: Path, scalaRelativePath: Path, semanticdbAbsolutePath: Path): TextDocument

Load SemanticDB TextDocument for a single Scala source file

Load SemanticDB TextDocument for a single Scala source file

Value parameters

scalaAbsolutePath

Absolute path to a Scala source file.

scalaRelativePath

scalaAbsolutePath relativized by the sourceroot.

semanticdbAbsolutePath

Absolute path to the SemanticDB file.

Attributes

def loadTextDocumentUnsafe(scalaAbsolutePath: Path, semanticdbAbsolutePath: Path): TextDocument
def metac(doc: TextDocument, realPath: Path)(using sb: StringBuilder): StringBuilder
def mkURIstring(path: Path): String

Converts a Path to a String that is URI encoded, without forcing absolute paths.

Converts a Path to a String that is URI encoded, without forcing absolute paths.

Attributes