JavaParsers

dotty.tools.dotc.parsing.JavaParsers$

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

class JavaParser(source: SourceFile)(using x$2: Context) extends ParserCommon

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class OutlineJavaParser(source: SourceFile)(using x$2: Context) extends JavaParser with OutlineParserCommon

OutlineJavaParser parses top-level declarations in source to find declared classes, ignoring their bodies (which must only have balanced braces). This is used to map class names to defining sources. This is necessary even for Java, because the filename defining a non-public classes cannot be determined from the classname alone.

OutlineJavaParser parses top-level declarations in source to find declared classes, ignoring their bodies (which must only have balanced braces). This is used to map class names to defining sources. This is necessary even for Java, because the filename defining a non-public classes cannot be determined from the classname alone.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any